We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30ab5c3 commit bd0bfa1Copy full SHA for bd0bfa1
.github/workflows/release.yaml
@@ -70,11 +70,17 @@ jobs:
70
sudo apt-get update
71
sudo apt-get install -y gcc-aarch64-linux-gnu
72
73
+ - name: Install cross
74
+ if: matrix.target == 'aarch64-unknown-linux-gnu'
75
+ run: cargo install cross
76
+
77
- name: Build
- uses: actions-rs/cargo@v1
- with:
- command: build
- args: --release --target ${{ matrix.target }}
78
+ run: |
79
+ if [ "${{ matrix.target }}" = "aarch64-unknown-linux-gnu" ]; then
80
+ cross build --release --target ${{ matrix.target }}
81
+ else
82
+ cargo build --release --target ${{ matrix.target }}
83
+ fi
84
85
- name: Prepare binary
86
shell: bash
0 commit comments