Skip to content

🔥 Release 🔥

🔥 Release 🔥 #3

Workflow file for this run

on:
release:
types: [published]
name: 🔥 Release 🔥
jobs:
release:
name: 🔥 Release 🔥
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-unknown-linux-musl
archive: tar.xz tar.gz tar.zst
- target: x86_64-apple-darwin
archive: zip
steps:
- name: ✅ Checkout ✅
uses: actions/checkout@v4
- name: 🧱 Build and Release 🧱
if: matrix.target == 'x86_64-pc-windows-gnu' || matrix.target == 'x86_64-unknown-linux-musl'
uses: rust-build/rust-build.action@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
TOOLCHAIN_VERSION: nightly
- name: 🧱 Build and Release 🧱
if: matrix.target == 'x86_64-apple-darwin'
uses: rust-build/rust-build.action@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
TOOLCHAIN_VERSION: "1.75"