mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-07-07 00:54:06 +00:00
Improve actions
This commit is contained in:
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@ -19,6 +19,10 @@ jobs:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: mbrobbel/rustfmt-check@master
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build-musl
|
||||
uses: gmiam/rust-musl-action@master
|
||||
with:
|
||||
@ -27,11 +31,15 @@ jobs:
|
||||
name: Upload artifact
|
||||
with:
|
||||
name: ${{ env.BINARY_NAME }}
|
||||
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
|
||||
# - name: Strip binary
|
||||
# run: strip target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
||||
- uses: ncipollo/release-action@v1
|
||||
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
||||
- name: Compress binaries
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
artifacts: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
|
||||
files: |
|
||||
target/x86_64-unknown-linux-musl/release/*
|
||||
- uses: ncipollo/release-action@v1
|
||||
name: Update release page
|
||||
with:
|
||||
artifacts: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
||||
allowUpdates: true
|
||||
body: Static build for x86_64-linux using MUSL
|
||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1043,7 +1043,7 @@ checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
|
||||
|
||||
[[package]]
|
||||
name = "rexec"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
dependencies = [
|
||||
"brace-expand",
|
||||
"clap 4.3.4",
|
||||
|
Reference in New Issue
Block a user