From 5ce72827baa4e768da64242969446d23fdd77812 Mon Sep 17 00:00:00 2001 From: John Doe Date: Sun, 10 Dec 2023 22:45:07 +0100 Subject: [PATCH] fix chrome upload --- .github/workflows/distribute.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/distribute.yml b/.github/workflows/distribute.yml index 5d9cc1c2..3b1e3db0 100644 --- a/.github/workflows/distribute.yml +++ b/.github/workflows/distribute.yml @@ -76,17 +76,14 @@ jobs: - name: Build and zip the extension run: yarn build:chrome - - name: Install chrome dependencies - run: yarn global add chrome-webstore-upload-cli - - name: Upload the package to Chrome web store if: ${{ github.event.inputs.testMode == 'false' }} + run: npx chrome-webstore-upload-cli@2 upload --source chrome_extension.zip --extension-id $EXTENSION_ID --auto-publish env: EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }} CLIENT_ID: ${{secrets.CHROME_EXTENSION_CLIENT_ID}} REFRESH_TOKEN: ${{secrets.CHROME_EXTENSION_REFRESH_TOKEN}} CLIENT_SECRET: ${{secrets.CHROME_EXTENSION_CLIENT_SECRET}} - run: chrome-webstore-upload upload --source chrome_extension.zip --extension-id $EXTENSION_ID --auto-publish firefox-deploy: if: ${{ (github.event.inputs.targetStore == 'firefox') || (github.event.inputs.targetStore == 'all') }}