Skip to content

Commit c374206

Browse files
authored
fix: using npm run zip is much better than zipping them using "zip"
1 parent 5651415 commit c374206

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/testing.yml

+3-13
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,9 @@ jobs:
6262
6363
- name: Zip Chrome and firefox folders
6464
run: |
65-
zip -r dist/chrome-${{ github.sha }}.zip dist/chrome
66-
zip -r dist/firefox-${{ github.sha }}.zip dist/firefox
67-
68-
- name: Upload Firefox
69-
uses: actions/upload-artifact@v4
70-
with:
71-
name: firefox-zip
72-
path: dist/firefox-${{ github.sha }}.zip
73-
- name: Upload Chrome
74-
uses: actions/upload-artifact@v4
75-
with:
76-
name: chrome-zip
77-
path: dist/chrome-${{ github.sha }}.zip
65+
apt install p7zip-full
66+
npm run zip
67+
7868
- name: Release
7969
run: npm run release
8070
env:

0 commit comments

Comments
 (0)