File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 # version twice, so re-running this workflow for an existing tag will
5959 # fail here — bump the version instead.
6060 - name : Sign the Firefox .xpi with Mozilla (AMO)
61- if : env.AMO_JWT_ISSUER != ''
61+ if : env.AMO_JWT_ISSUER != '' && env.AMO_JWT_SECRET != ''
6262 run : |
6363 version="$(node -p "require('./manifest.json').version")"
6464 mkdir -p /tmp/xpi-src /tmp/xpi-signed
7575 # Upload the .zip to the Chrome Web Store and publish. Google's
7676 # review still happens asynchronously on their side afterwards.
7777 - name : Publish to the Chrome Web Store
78- if : env.CWS_EXTENSION_ID != ''
78+ if : >-
79+ env.CWS_EXTENSION_ID != '' && env.CWS_CLIENT_ID != '' &&
80+ env.CWS_CLIENT_SECRET != '' && env.CWS_REFRESH_TOKEN != ''
7981 env :
8082 EXTENSION_ID : ${{ env.CWS_EXTENSION_ID }}
8183 CLIENT_ID : ${{ env.CWS_CLIENT_ID }}
You can’t perform that action at this time.
0 commit comments