Skip to content

Commit fb96c39

Browse files
authored
Fix macOS builds (#55)
Fix typo in the artifact upload path for aarch64 build Add cleanup of the x86 artifacts to ensure architectures are not mixed up * Force merging as the cla-bot seems confused, despite the PR author being on the allow list
1 parent 4d911f0 commit fb96c39

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ jobs:
4545
name: foreman-macos-x86_64
4646
path: target/x86_64-apple-darwin/release/foreman
4747

48-
- name: Build aarch64 release binary
48+
- name: Cleanup finished x86_64 build
49+
run: rm -rf ./target
50+
51+
- name: Build arm64 release binary
4952
run: |
5053
source $HOME/.cargo/env
5154
cargo build --verbose --locked --release --target aarch64-apple-darwin
@@ -54,7 +57,7 @@ jobs:
5457
uses: actions/upload-artifact@v1
5558
with:
5659
name: foreman-macos-arm64
57-
path: target/arm64-apple-darwin/release/foreman
60+
path: target/aarch64-apple-darwin/release/foreman
5861

5962
linux:
6063
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)