mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-07-07 08:54:06 +00:00
Improve actions
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -27,16 +27,16 @@ jobs:
|
|||||||
uses: gmiam/rust-musl-action@master
|
uses: gmiam/rust-musl-action@master
|
||||||
with:
|
with:
|
||||||
args: cargo build --target $BUILD_TARGET --release
|
args: cargo build --target $BUILD_TARGET --release
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
name: Upload artifact
|
|
||||||
with:
|
|
||||||
name: ${{ env.BINARY_NAME }}
|
|
||||||
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
|
||||||
- name: Compress binaries
|
- name: Compress binaries
|
||||||
uses: svenstaro/upx-action@v2
|
uses: svenstaro/upx-action@v2
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
target/x86_64-unknown-linux-musl/release/*
|
target/x86_64-unknown-linux-musl/release/*
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
name: Upload artifact
|
||||||
|
with:
|
||||||
|
name: ${{ env.BINARY_NAME }}
|
||||||
|
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
name: Update release page
|
name: Update release page
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user