mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-07-07 16:54:07 +00:00
Update release.yml
This commit is contained in:
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@ -1,19 +1,21 @@
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
name: Handle Release
|
|
||||||
jobs:
|
jobs:
|
||||||
generate:
|
release:
|
||||||
name: Create release-artifacts
|
name: release ${{ matrix.target }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- uses: actions/checkout@master
|
||||||
uses: actions/checkout@master
|
- name: Compile and release
|
||||||
- name: Generate the artifacts
|
uses: rust-build/rust-build.action@v1.4.3
|
||||||
uses: skx/github-action-build@master
|
|
||||||
- name: Upload the artifacts
|
|
||||||
uses: skx/github-action-publish-binaries@master
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
args: 'rexec-*'
|
RUSTTARGET: ${{ matrix.target }}
|
||||||
|
EXTRA_FILES: "README.md LICENSE"
|
||||||
|
Reference in New Issue
Block a user