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:
name: Build Arch Linux package
runs-on: ubuntu-latest
needs: build
permissions:
contents: write
steps:
@ -60,19 +59,24 @@ jobs:
release:
name: Release binary
needs: build
needs: ["build", "build_arch"]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@master
id: download
id: download_binary
with:
name: ${{ 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
name: Update release page
with:
artifacts: ${{ steps.download.outputs.download-path }}/*
artifacts: "${{ steps.download_pkgbuild.outputs.download-path }}/*,${{ steps.download_binary.outputs.download-path }}/*"
allowUpdates: true
body: Static build for x86_64-linux using MUSL