Skip to content
name: Release static binaries
on:
release:
types: [published]
permissions:
contents: write
jobs:
release-binaries:
name: Release ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
- os: ubuntu-latest
target: aarch64-unknown-linux-musl
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
steps:
- uses: actions/checkout@v3
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: tspin
target: ${{ matrix.target }}
archive: tailspin-$target
token: ${{ secrets.GITHUB_TOKEN }}