mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-08-21 15:17:15 +00:00
Update release.yml
This commit is contained in:
46
.github/workflows/release.yml
vendored
46
.github/workflows/release.yml
vendored
@@ -1,45 +1,23 @@
|
|||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
tags:
|
types: [created]
|
||||||
- v[0-9]+.*
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-release:
|
release:
|
||||||
|
name: release ${{ matrix.target }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: taiki-e/create-gh-release-action@v1
|
|
||||||
#with:
|
|
||||||
# (optional)
|
|
||||||
#changelog: CHANGELOG.md
|
|
||||||
env:
|
|
||||||
# (required)
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
upload-assets:
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
|
||||||
- ubuntu-latest
|
|
||||||
- macos-latest
|
|
||||||
- windows-latest
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@master
|
||||||
- uses: taiki-e/upload-rust-binary-action@v1
|
- name: Compile and release
|
||||||
with:
|
uses: rust-build/rust-build.action@v1.4.3
|
||||||
# (required)
|
|
||||||
bin: playlist-manager
|
|
||||||
# (optional) On which platform to distribute the `.tar.gz` file.
|
|
||||||
# [default value: unix]
|
|
||||||
# [possible values: all, unix, windows, none]
|
|
||||||
tar: unix
|
|
||||||
# (optional) On which platform to distribute the `.zip` file.
|
|
||||||
# [default value: windows]
|
|
||||||
# [possible values: all, unix, windows, none]
|
|
||||||
zip: windows
|
|
||||||
env:
|
env:
|
||||||
# (required)
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
RUSTTARGET: ${{ matrix.target }}
|
||||||
|
EXTRA_FILES: "README.md LICENSE"
|
||||||
|
Reference in New Issue
Block a user