@@ -38,47 +38,37 @@ jobs:
38
38
name : extension-${{ github.sha }}
39
39
path : workspace/extension/build/svelte-devtools.zip
40
40
41
- sign :
41
+ publish :
42
42
runs-on : ubuntu-latest
43
43
needs : [manifest, bundle]
44
44
45
- # if: |
46
- # github.repository == 'sveltejs/svelte-devtools' &&
47
- # github.event_name == 'push' && github.ref == 'refs/heads/master' &&
48
- # startsWith(github.event.head_commit.message, format('~ v{0}', needs.manifest.outputs.version))
45
+ if : |
46
+ github.repository == 'sveltejs/svelte-devtools' &&
47
+ github.event_name == 'push' && github.ref == 'refs/heads/master' &&
48
+ startsWith(github.event.head_commit.message, format('~ v{0}', needs.manifest.outputs.version))
49
49
50
50
steps :
51
51
- uses : actions/checkout@v4
52
52
- uses : pnpm/action-setup@v4
53
53
- uses : actions/download-artifact@v4
54
- - working-directory : extension-${{ github.sha }}
55
- run : ls -al
56
-
57
- # - working-directory: extension-${{ github.sha }}
58
- # run: |
59
- # pnpm dlx web-ext sign --channel unlisted \
60
- # --api-key ${{ secrets.WEB_EXT_API_KEY }} \
61
- # --api-secret ${{ secrets.WEB_EXT_API_SECRET }}
62
54
63
- # - working-directory: extension-${{ github.sha }}
64
- # env:
65
- # GH_TOKEN: ${{ github.token }}
66
- # run: | # https://cli.github.com/manual/gh_release_create
67
- # gh release create v${{ needs.manifest.outputs.version }} \
68
- # svelte-devtools.zip web-ext-artifacts/*.xpi#svelte-devtools.xpi \
69
- # --title ${{ needs.manifest.outputs.version }} \
70
- # --draft --generate-notes --notes '
71
- # Built from ${{ github.event.head_commit.id }} at https://github.com/sveltejs/svelte-devtools/actions/runs/${{ github.run_id }}
72
- # - Chrome Web Store: https://chrome.google.com/webstore/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
73
- # - Firefox Signed Add-on: https://github.com/sveltejs/svelte-devtools/releases/download/v${{ needs.manifest.outputs.version }}/svelte-devtools.xpi
74
- # ---'
55
+ - working-directory : extension-${{ github.sha }}
56
+ run : |
57
+ pnpm dlx web-ext sign --channel unlisted \
58
+ --api-key ${{ secrets.WEB_EXT_API_KEY }} \
59
+ --api-secret ${{ secrets.WEB_EXT_API_SECRET }}
75
60
76
- # TODO: publish to Chrome Web Store
77
- # publish:
78
- # runs-on: ubuntu-latest
79
- # needs: bundle
61
+ - working-directory : extension-${{ github.sha }}
62
+ env :
63
+ GH_TOKEN : ${{ github.token }}
64
+ run : | # https://cli.github.com/manual/gh_release_create
65
+ gh release create v${{ needs.manifest.outputs.version }} \
66
+ svelte-devtools.zip web-ext-artifacts/*.xpi#svelte-devtools.xpi \
67
+ --title ${{ needs.manifest.outputs.version }} \
68
+ --draft --generate-notes --notes '
69
+ Built from ${{ github.event.head_commit.id }} at https://github.com/sveltejs/svelte-devtools/actions/runs/${{ github.run_id }}
70
+ - Chrome Web Store: https://chrome.google.com/webstore/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
71
+ - Firefox Signed Add-on: https://github.com/sveltejs/svelte-devtools/releases/download/v${{ needs.manifest.outputs.version }}/svelte-devtools.xpi
72
+ ---'
80
73
81
- # steps:
82
- # - uses: actions/download-artifact@v4
83
- # with:
84
- # name: extension-${{ github.sha }}
74
+ # TODO: publish to Chrome Web Store
0 commit comments