This commit is contained in:
Alexandr Bogomyakov
2023-06-20 18:01:28 +03:00
parent 05a158d905
commit 21e081848f

View File

@ -32,7 +32,6 @@ jobs:
build_arch: build_arch:
name: Build Arch Linux package name: Build Arch Linux package
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build
permissions: permissions:
contents: write contents: write
steps: steps:
@ -60,19 +59,24 @@ jobs:
release: release:
name: Release binary name: Release binary
needs: build needs: ["build", "build_arch"]
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/download-artifact@master - uses: actions/download-artifact@master
id: download id: download_binary
with: with:
name: ${{ env.BINARY_NAME }}_x86_64-linux-musl name: ${{ env.BINARY_NAME }}_x86_64-linux-musl
path: ${{ env.BINARY_NAME }}_x86_64-linux-musl path: ${{ env.BINARY_NAME }}_x86_64-linux-musl
- uses: actions/download-artifact@master
id: download_pkgbuild
with:
name: PKGBUILD
path: PKGBUILD
- 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_pkgbuild.outputs.download-path }}/*,${{ steps.download_binary.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