From ae03ed49af157a0cefae2da7e156b358321deb10 Mon Sep 17 00:00:00 2001 From: Jan Tache Date: Sun, 10 Dec 2023 16:01:26 -0800 Subject: [PATCH] ci: fix macos build action --- .github/workflows/macos-build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index 8a4e8ca4a..23096334f 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -18,24 +18,19 @@ jobs: - uses: Swatinem/rust-cache@v2 with: shared-key: "persist-cross-job" - workspaces: ./ - name: Build release run: cargo build --release - name: Move build artifact shell: bash run: | mkdir -p artifacts - mv ./target/aarch64-apple-darwin/release/kanata artifacts/kanata_macos + mv target/x86_64-apple-darwin/release/kanata artifacts/kanata_macos - name: Build release with cmd feature run: cargo build --release --features cmd - name: Move build artifact with cmd feature shell: bash run: | - mv ./target/aarch64-apple-darwin/release/kanata artifacts/kanata_macos_cmd_allowed - - name: Strip binaries - shell: bash - run: | - strip artifacts/* + mv target/x86_64-apple-darwin/release/kanata artifacts/kanata_macos_cmd_allowed - uses: actions/upload-artifact@v3 with: name: macos-binaries