Skip to content

Commit d72f11f

Browse files
committed
explicitly install target
Signed-off-by: William Woodruff <[email protected]>
1 parent 00812f1 commit d72f11f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release-binaries.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
target: aarch64-unknown-linux-gnu
2020
- runner: macos-latest
2121
target: x86_64-apple-darwin
22+
install: true
2223
- runner: macos-latest
2324
target: aarch64-apple-darwin
2425
- runner: windows-latest
@@ -39,6 +40,12 @@ jobs:
3940
run: |
4041
rustup show
4142
43+
- name: Install Rust target for ${{ matrix.target }}
44+
if: ${{ matrix.install }}
45+
run: rustup target add "${TARGET}"
46+
env:
47+
TARGET: ${{ matrix.target }}
48+
4249
- name: Build release
4350
run: cargo build --release --target "${TARGET}"
4451
env:

0 commit comments

Comments
 (0)