Skip to content

Commit 5ce7282

Browse files
committed
fix chrome upload
1 parent b768fd4 commit 5ce7282

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/distribute.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,14 @@ jobs:
7676
- name: Build and zip the extension
7777
run: yarn build:chrome
7878

79-
- name: Install chrome dependencies
80-
run: yarn global add chrome-webstore-upload-cli
81-
8279
- name: Upload the package to Chrome web store
8380
if: ${{ github.event.inputs.testMode == 'false' }}
81+
run: npx chrome-webstore-upload-cli@2 upload --source chrome_extension.zip --extension-id $EXTENSION_ID --auto-publish
8482
env:
8583
EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
8684
CLIENT_ID: ${{secrets.CHROME_EXTENSION_CLIENT_ID}}
8785
REFRESH_TOKEN: ${{secrets.CHROME_EXTENSION_REFRESH_TOKEN}}
8886
CLIENT_SECRET: ${{secrets.CHROME_EXTENSION_CLIENT_SECRET}}
89-
run: chrome-webstore-upload upload --source chrome_extension.zip --extension-id $EXTENSION_ID --auto-publish
9087

9188
firefox-deploy:
9289
if: ${{ (github.event.inputs.targetStore == 'firefox') || (github.event.inputs.targetStore == 'all') }}

0 commit comments

Comments
 (0)