We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23e5272 commit 13ba015Copy full SHA for 13ba015
.github/workflows/ci.yml
@@ -245,3 +245,25 @@ jobs:
245
- run: npm publish
246
env:
247
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
248
+
249
+ upload-release:
250
+ needs: build
251
+ runs-on: ubuntu-latest
252
+ if: github.event_name == 'release'
253
+ permissions:
254
+ contents: write
255
+ steps:
256
+ - name: Download Artifact
257
+ uses: actions/download-artifact@v4
258
+ with:
259
+ name: dist
260
+ path: dist
261
262
+ - name: Zip dist directory
263
+ run: zip -r dist.zip dist
264
265
+ - name: Upload Release Asset
266
+ uses: svenstaro/upload-release-action@v2
267
268
+ file: dist.zip
269
+ overwrite: true
0 commit comments