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
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- uses: mbrobbel/rustfmt-check@master
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Build-musl
|
- name: Build-musl
|
||||||
uses: gmiam/rust-musl-action@master
|
uses: gmiam/rust-musl-action@master
|
||||||
with:
|
with:
|
||||||
@ -27,11 +31,15 @@ jobs:
|
|||||||
name: Upload artifact
|
name: Upload artifact
|
||||||
with:
|
with:
|
||||||
name: ${{ env.BINARY_NAME }}
|
name: ${{ env.BINARY_NAME }}
|
||||||
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
|
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
||||||
# - name: Strip binary
|
- name: Compress binaries
|
||||||
# run: strip target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
uses: svenstaro/upx-action@v2
|
||||||
- uses: ncipollo/release-action@v1
|
|
||||||
with:
|
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
|
allowUpdates: true
|
||||||
body: Static build for x86_64-linux using MUSL
|
body: Static build for x86_64-linux using MUSL
|
||||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1043,7 +1043,7 @@ checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rexec"
|
name = "rexec"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"brace-expand",
|
"brace-expand",
|
||||||
"clap 4.3.4",
|
"clap 4.3.4",
|
||||||
|
Reference in New Issue
Block a user