Skip to content

Commit

Permalink
chore(#17): multi targets in releases
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfzc committed Mar 6, 2024
1 parent a3a955d commit 4901b11
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,25 @@ jobs:
needs: create-release
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
# Ubuntu
- target: aarch64-unknown-linux-musl
os: ubuntu-latest
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
# Mac OS
- target: universal-apple-darwin
os: macos-latest
# Windows
- target: x86_64-pc-windows-msvc
os: windows-latest

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: cupido
zip: all
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4901b11

Please sign in to comment.