Update release.yml

This commit is contained in:
House of Vanity
2023-06-18 13:35:29 +03:00
committed by GitHub
parent c2f604ea58
commit 63862bf44b

View File

@ -1,19 +1,21 @@
on:
release:
types: [created]
name: Handle Release
jobs:
generate:
name: Create release-artifacts
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
steps:
- name: Checkout the repository
uses: actions/checkout@master
- name: Generate the artifacts
uses: skx/github-action-build@master
- name: Upload the artifacts
uses: skx/github-action-publish-binaries@master
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'rexec-*'
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"