From 21e081848f0c4ad5ccf3e43b40e12e10cf5b66ca Mon Sep 17 00:00:00 2001 From: Alexandr Bogomyakov Date: Tue, 20 Jun 2023 18:01:28 +0300 Subject: [PATCH] Fix CI --- .github/workflows/release.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7ad177..f52bbd6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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