We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c893438 commit f036090Copy full SHA for f036090
1 file changed
.github/workflows/build-ffmpeg.yml
@@ -12,6 +12,8 @@ on:
12
- '**.md'
13
- '**.rst'
14
- '**.txt'
15
+ release:
16
+ types: [published]
17
workflow_dispatch:
18
jobs:
19
build:
@@ -132,3 +134,21 @@ jobs:
132
134
with:
133
135
name: output-${{ matrix.build }}${{ matrix.arch }}
136
path: output/
137
+
138
+ upload-release:
139
+ if: github.event_name == 'release'
140
+ needs: [build, cross-build]
141
+ runs-on: ubuntu-latest
142
+ permissions:
143
+ contents: write
144
+ steps:
145
+ - name: Download all artifacts
146
+ uses: actions/download-artifact@v6
147
+ with:
148
+ path: artifacts/
149
+ pattern: output-*
150
+ merge-multiple: true
151
+ - name: Upload to release
152
+ uses: softprops/action-gh-release@v2
153
154
+ files: artifacts/*.tar.gz
0 commit comments