We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebc86e3 commit 2329ffbCopy full SHA for 2329ffb
.github/workflows/build.yml
@@ -1,5 +1,8 @@
1
name: Build
2
3
+permissions:
4
+ contents: read
5
+
6
on:
7
push:
8
branches:
@@ -164,3 +167,24 @@ jobs:
164
167
name: ${{ matrix.artifact }}
165
168
path: ${{ matrix.artifact }}
166
169
if-no-files-found: error
170
171
+ release:
172
+ name: Publish Release Assets
173
+ if: github.ref_type == 'tag'
174
+ needs: build
175
+ runs-on: ubuntu-latest
176
+ permissions:
177
+ contents: write
178
+ steps:
179
+ - name: Download artifacts
180
+ uses: actions/download-artifact@v4
181
+ with:
182
+ path: dist
183
184
+ - name: Attach assets to release
185
+ uses: softprops/action-gh-release@v2
186
187
+ tag_name: ${{ github.ref_name }}
188
+ generate_release_notes: true
189
+ files: |
190
+ dist/**/*.zip
0 commit comments