Skip to content

yash-cli-0.2.0

yash-cli-0.2.0 #1

Workflow file for this run

name: Release
on:
release:
types: [published]
env:
CARGO_TERM_COLOR: always
CARGO_TERM_VERBOSE: true
jobs:
upload-assets:
permissions:
contents: write
if: ${{ startsWith(github.ref, 'refs/tags/yash-cli-') }}
strategy:
matrix:
include:
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-apple-darwin
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Build and upload Rust binary to GitHub Releases
uses: taiki-e/[email protected]
with:
bin: yash3
target: ${{ matrix.target }}