Skip to content

v0.0.1-beta.1

v0.0.1-beta.1 #8

Workflow file for this run

name: Upload binary
on:
release:
types:
- created
jobs:
upload-assets:
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, target: x86_64-unknown-linux-gnu}
- {os: ubuntu-latest, target: aarch64-unknown-linux-gnu}
- {os: macos-latest, target: x86_64-apple-darwin}
- {os: macos-latest, target: aarch64-apple-darwin}
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: bothan
target: ${{ matrix.config.target }}
tar: unix
zip: unix
archive: $bin-$tag-$target
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_PROFILE_RELEASE_LTO: true