Skip to content

Commit dc1b060

Browse files
committed
upload artifacts when publishing
1 parent 082f307 commit dc1b060

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ jobs:
3535
npm run zip:firefox
3636
npm run zip
3737
38+
- name: Upload as artifacts
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
run: |
42+
MV2=$(find .output -type f -name "*-mv2.zip")
43+
MV3=$(find .output -type f -name "*-mv3.zip")
44+
gh upload-artifact $(basename $MV2) $MV2
45+
gh upload-artifact $(basename $MV3) $MV3
46+
3847
- name: Upload to latest release
3948
if: github.event.inputs.dry_run != 'true'
4049
uses: svenstaro/upload-release-action@v2

0 commit comments

Comments
 (0)