name: Build and Release
on:
workflow_dispatch:
push:
branches:
tags:
- 'v*.*.*'
jobs:
build:
strategy:
matrix:
os:
- windows-latest
- buildjet-16vcpu-ubuntu-2204
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust 1.94
uses: dtolnay/rust-toolchain@1.94
- name: Build
id: build
shell: bash
run: |
cargo build --all --release
- name: Release Tags
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')