From b65531761cd8f37f0177defb68f8d94af43ae904 Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Fri, 23 Jan 2026 22:50:42 -0500 Subject: [PATCH] Upload release to gh --- .github/workflows/build-ffmpeg.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build-ffmpeg.yml b/.github/workflows/build-ffmpeg.yml index 31933cb3..bb17aee2 100644 --- a/.github/workflows/build-ffmpeg.yml +++ b/.github/workflows/build-ffmpeg.yml @@ -12,6 +12,8 @@ on: - '**.md' - '**.rst' - '**.txt' + release: + types: [published] workflow_dispatch: jobs: build: @@ -132,3 +134,21 @@ jobs: with: name: output-${{ matrix.build }}${{ matrix.arch }} path: output/ + + upload-release: + if: github.event_name == 'release' + needs: [build, cross-build] + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Download all artifacts + uses: actions/download-artifact@v6 + with: + path: artifacts/ + pattern: output-* + merge-multiple: true + - name: Upload to release + uses: softprops/action-gh-release@v2 + with: + files: artifacts/*.tar.gz