Update release.yml

This commit is contained in:
House of Vanity
2023-06-18 17:00:22 +03:00
committed by GitHub
parent afdd14fd90
commit 72c12d5bb6

View File

@ -1,4 +1,3 @@
name: Release
on:
release:
@ -11,7 +10,13 @@ jobs:
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, x86_64-unknown-linux-gnu]
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-unknown-linux-musl
archive: tar.gz tar.xz tar.zst
- target: x86_64-apple-darwin
archive: zip
steps:
- uses: actions/checkout@master
- name: Compile and release
@ -20,4 +25,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"
ARCHIVE_TYPES: ${{ matrix.archive }}