From 54e20bbb8688b9a95a9144184138f5254881e61e Mon Sep 17 00:00:00 2001 From: Ruslan Sayfutdinov Date: Sat, 16 Nov 2024 02:35:12 -0800 Subject: [PATCH] buck2/github: replace --out-dir with --artifact-dir Summary: It was renamed long time ago: https://github.com/rust-lang/cargo/issues/6790 Reviewed By: iguridi Differential Revision: D66011214 --- .github/actions/build_debug/action.yml | 2 +- .github/actions/build_release/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build_debug/action.yml b/.github/actions/build_debug/action.yml index aa4c7dc0309e..2992e4764b27 100644 --- a/.github/actions/build_debug/action.yml +++ b/.github/actions/build_debug/action.yml @@ -6,5 +6,5 @@ runs: - name: Build buck2 binary (debug) run: |- mkdir $RUNNER_TEMP/artifacts - cargo build --bin=buck2 -Z unstable-options --out-dir=$RUNNER_TEMP/artifacts + cargo build --bin=buck2 -Z unstable-options --artifact-dir=$RUNNER_TEMP/artifacts shell: bash diff --git a/.github/actions/build_release/action.yml b/.github/actions/build_release/action.yml index d332608a454e..18b642eb3c6a 100644 --- a/.github/actions/build_release/action.yml +++ b/.github/actions/build_release/action.yml @@ -6,5 +6,5 @@ runs: - name: Build buck2 binary (release) run: |- mkdir $RUNNER_TEMP/artifacts - cargo build --bin=buck2 --release -Z unstable-options --out-dir=$RUNNER_TEMP/artifacts + cargo build --bin=buck2 --release -Z unstable-options --artifact-dir=$RUNNER_TEMP/artifacts shell: bash