2022-12-05 13:36:42 +01:00
|
|
|
name: 📦 Release Workflow
|
2022-12-04 23:21:04 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [created]
|
|
|
|
|
|
|
|
jobs:
|
2022-12-05 13:36:42 +01:00
|
|
|
release:
|
|
|
|
name: 🚀 Release ${{ matrix.target }}
|
2022-12-04 23:21:04 +01:00
|
|
|
runs-on: ubuntu-latest
|
2022-12-05 13:36:42 +01:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- target: x86_64-pc-windows-gnu
|
|
|
|
archive: zip
|
2022-12-05 20:40:44 +01:00
|
|
|
- target: x86_64-unknown-linux-musl
|
2022-12-05 13:36:42 +01:00
|
|
|
archive: tar.gz
|
|
|
|
- target: x86_64-apple-darwin
|
|
|
|
archive: zip
|
2022-12-04 23:21:04 +01:00
|
|
|
steps:
|
2022-12-05 13:36:42 +01:00
|
|
|
- uses: actions/checkout@master
|
|
|
|
- name: 📥 Compiling
|
|
|
|
uses: rust-build/rust-build.action@v1.3.2
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
RUSTTARGET: ${{ matrix.target }}
|
|
|
|
ARCHIVE_TYPES: ${{ matrix.archive }}
|