mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-08 07:18:32 -04:00
use cross to cross-build
This commit is contained in:
parent
eb9c0be437
commit
52d1d589ac
1 changed files with 4 additions and 1 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -129,8 +129,11 @@ jobs:
|
|||
echo "RELEASE_UPLOAD_URL=$release_upload_url" >> $GITHUB_ENV
|
||||
echo "release upload url: $release_upload_url"
|
||||
|
||||
- name: Install cross
|
||||
run: cargo install cross
|
||||
|
||||
- name: Build onetun binary
|
||||
run: cargo build --release --target ${{ matrix.target }}
|
||||
run: cross build --release --target ${{ matrix.target }}
|
||||
|
||||
- name: Prepare onetun binary
|
||||
shell: bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue