From 5f8420eaa0cb869e0cc392448c841e6483d1aa96 Mon Sep 17 00:00:00 2001 From: Ruslan Sayfutdinov Date: Fri, 15 Nov 2024 10:40:43 -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 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