File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,34 @@ jobs:
26
26
name : extension-${{ github.sha }}
27
27
path : workspace/extension/build/svelte-devtools.zip
28
28
29
+ # TODO: upload zip to GitHub releases
30
+
31
+ sign :
32
+ runs-on : ubuntu-latest
33
+ needs : bundle
34
+ # TODO: web-ext sign fails if version already exists, find another way to check
35
+ if : success() && startsWith(github.event.head_commit.message, '~ v')
36
+
37
+ steps :
38
+ - uses : pnpm/action-setup@v4
39
+ - uses : actions/download-artifact@v4
40
+ with :
41
+ name : extension-${{ github.sha }}
42
+
43
+ - run : pnpm dlx web-ext sign --channel unlisted --api-key ${{ secrets.WEB_EXT_API_KEY }} --api-secret ${{ secrets.WEB_EXT_API_SECRET }}
44
+
45
+ - uses : actions/upload-artifact@v4
46
+ with :
47
+ name : extension-${{ github.sha }}
48
+
49
+ # TODO: upload signed extension to GitHub releases
50
+
51
+ # TODO: publish to Chrome Web Store
29
52
# publish:
30
53
# runs-on: ubuntu-latest
31
54
# needs: bundle
32
55
33
56
# steps:
34
- # - uses: actions/download-artifact@v3
57
+ # - uses: actions/download-artifact@v4
35
58
# with:
36
59
# name: extension-${{ github.sha }}
You can’t perform that action at this time.
0 commit comments