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:
29
.github/workflows/release.yml
vendored
29
.github/workflows/release.yml
vendored
@ -29,6 +29,33 @@ jobs:
|
|||||||
name: ${{ env.BINARY_NAME }}_x86_64-linux-musl
|
name: ${{ env.BINARY_NAME }}_x86_64-linux-musl
|
||||||
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
|
||||||
|
|
||||||
|
build_arch:
|
||||||
|
name: Build Arch Linux package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install latest nightly
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
target: x86_64-unknown-linux-musl
|
||||||
|
components: cargo-aur
|
||||||
|
- name: Build PKGBUILD
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: aur
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
name: Upload artifact
|
||||||
|
with:
|
||||||
|
name: PKGBUILD
|
||||||
|
path: PKGBUILD
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Release binary
|
name: Release binary
|
||||||
needs: build
|
needs: build
|
||||||
@ -44,6 +71,6 @@ jobs:
|
|||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
name: Update release page
|
name: Update release page
|
||||||
with:
|
with:
|
||||||
artifacts: ${{ steps.download.outputs.download-path }}
|
artifacts: ${{ steps.download.outputs.download-path }}/*
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
body: Static build for x86_64-linux using MUSL
|
body: Static build for x86_64-linux using MUSL
|
||||||
|
Reference in New Issue
Block a user