Skip to content

Commit c5afb45

Browse files
committed
ci: install cross for Linux target
1 parent 161b632 commit c5afb45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ jobs:
9797

9898
- name: Build Binary
9999
run: |
100+
cargo install cross --git https://github.com/rust-embedded/cross
101+
100102
if [ "${{ matrix.target }}" == "linux-x64" ]; then
101103
cross build --release --target x86_64-unknown-linux-gnu
102104
else
103-
cargo install cross --git https://github.com/rust-embedded/cross
104105
cross build --release --target x86_64-pc-windows-gnu
105106
sudo apt-get install osslsigncode
106107
echo "${{ secrets.WIN_SIGN_KEY }}" | base64 -d > code_sign.key.pem

0 commit comments

Comments
 (0)