From c1dc4fe589f32980d1f7afb62c26b2cb95e8e07c Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Wed, 13 May 2026 10:03:15 +0200 Subject: [PATCH] automatically attach assets to release (#884) * automatically attach assets to release * more --- .github/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e158e0..b766775 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -255,3 +255,22 @@ jobs: butler push target/${{ matrix.target }}/release/bundle/osx/Gopher64.app loganmc10/gopher64:${{ matrix.arch }} --userversion ${GITHUB_REF_NAME#v} env: BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} + + collect-artifacts: + name: Collect release artifacts + needs: [build-linux, build-windows, build-macos] + if: github.ref_type == 'tag' + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Download all workflow artifacts + uses: actions/download-artifact@v8 + with: + skip-decompress: true + path: release-artifacts + - name: Add files to release + uses: softprops/action-gh-release@v3 + with: + draft: true + files: release-artifacts/*