From d2d71633b840ce5c16d5261e03f2b2ffae197462 Mon Sep 17 00:00:00 2001 From: Jared Dellitt Date: Mon, 26 Jan 2026 10:09:45 -0600 Subject: [PATCH] chore(PLA-2124): only create the release after all artifacts have been built --- .github/workflows/release.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ced7069..505b3c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,12 +65,26 @@ jobs: name: ${{ steps.build-crate.outputs.file-name }} path: ${{ steps.build-crate.outputs.file-path }} - - name: Publish archives and packages + publish: + name: Publish GitHub Release + needs: build_release + runs-on: ubuntu-latest + + steps: + - name: Download all artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts + merge-multiple: true + + - name: List artifacts + run: ls -la artifacts/ + + - name: Publish to GitHub Release uses: softprops/action-gh-release@v2 with: tag_name: v${{ inputs.version }} name: v${{ inputs.version }} draft: false - files: | - ${{ steps.build-crate.outputs.file-path }} + files: artifacts/*.tar.gz \ No newline at end of file