File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1313 Version :
1414 outputs :
1515 created : ${{ env.DAILY_VERSION_CREATED }}
16+ permissions :
17+ contents : write
1618 runs-on : ubuntu-latest
1719 steps :
1820 - uses : actions/checkout@v4
3032 run : npx dot-json@1 "$DIRECTORY/manifest.json" version "$DAILY_VERSION"
3133 - name : Ready for "submit" jobs
3234 if : env.DAILY_VERSION_CREATED
33- uses : actions/upload-artifact@v3
35+ uses : actions/upload-artifact@v4
3436 with :
3537 path : ${{ env.DIRECTORY }}
3638 - name : Create release
4951 environment : Chrome
5052 runs-on : ubuntu-latest
5153 steps :
52- - uses : actions/download-artifact@v3
53- - run : npx chrome-webstore-upload-cli@2 upload --auto-publish
54+ - uses : actions/download-artifact@v4
55+ - run : npx chrome-webstore-upload-cli@3
5456 working-directory : artifact
5557 env :
5658 EXTENSION_ID : ${{ secrets.EXTENSION_ID }}
6466 environment : Firefox
6567 runs-on : ubuntu-latest
6668 steps :
67- - uses : actions/download-artifact@v3
68- - run : npx web-ext@7 sign --use-submission-api --channel listed
69+ - uses : actions/checkout@v4
70+ - uses : actions/download-artifact@v4
71+ - run : >-
72+ git archive --output source.zip HEAD ":!test" ":!.github" && unzip -l
73+ source.zip
74+ - run : npx web-ext@8 sign --channel listed --upload-source-code ../source.zip
6975 working-directory : artifact
7076 env :
7177 WEB_EXT_API_KEY : ${{ secrets.WEB_EXT_API_KEY }}
You can’t perform that action at this time.
0 commit comments