mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-04-12 08:28:32 +02:00
chore: use action-gh-releaser
This commit is contained in:
parent
96925818c8
commit
f0a7d846d4
24
.github/workflows/release.yml
vendored
24
.github/workflows/release.yml
vendored
|
@ -5,16 +5,18 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
target: [x86_64-unknown-linux-musl]
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v3
|
||||||
- name: Compile and release
|
- name: nightly-rust
|
||||||
uses: rust-build/rust-build.action@v1.4.3
|
uses: actions-rs/toolchain@v1
|
||||||
env:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
profile: minimal
|
||||||
|
toolchain: nightly
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --verbose
|
||||||
|
- name: Upload
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
RUSTTARGET: ${{ matrix.target }}
|
name: reset
|
||||||
EXTRA_FILES: "README.md LICENSE"
|
path: target/release/reset
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue