Skip to content

Commit 2b7f81a

Browse files
committed
fix uploading the firefox extension
1 parent 2d32cfa commit 2b7f81a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/distribute.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ jobs:
109109
NODE_OPTIONS: --openssl-legacy-provider
110110
run: yarn build-firefox
111111

112-
- name: Install Firefox dependencies
113-
run: yarn global add web-ext web-ext-submit@6
114-
115112
- name: Upload the package to Firefox web store
116113
if: ${{ github.event.inputs.testMode == 'false' }}
117-
env:
118-
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}
119-
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
120-
run: cd dist && web-ext-submit #--channel=unlisted
114+
uses: yayuyokitano/firefox-addon@v0.0.6-alpha
115+
with:
116+
api_key: ${{ secrets.WEB_EXT_API_KEY }}
117+
api_secret: ${{ secrets.WEB_EXT_API_SECRET }}
118+
guid: '{f8793186-e9da-4332-aa1e-dc3d9f7bb04c}'
119+
xpi_path: firefox_extension.zip
120+
src_path: source_code.zip

0 commit comments

Comments
 (0)