Skip to content

Commit

Permalink
use cross to cross-build
Browse files Browse the repository at this point in the history
  • Loading branch information
aramperes committed Dec 1, 2024
1 parent eb9c0be commit 52d1d58
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52d1d58

Please sign in to comment.