Skip to content

Commit

Permalink
fix: testing ci: revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpmohiburrahman committed Jun 25, 2024
1 parent 3db4a62 commit 1bc40b6
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
run: pnpm build

- name: Archive chrome-extension artifact
run: zip -r chrome-extension-${{ github.sha }}.zip dist/*
run: zip -r chrome-extension-${{ github.sha }}.zip dist

- name: Upload chrome-extension artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -104,16 +104,10 @@ jobs:
- name: Install webstore CLI
run: npm install -g chrome-webstore-upload-cli

- name: Upload and submit for review
- name: Upload step
run: |
unzip chrome-extension-${{ github.sha }}.zip -d dist \
&& chrome-webstore-upload upload \
--source dist \
--extension-id ${{ env.EXTENSION_ID }} \
--client-id ${{ secrets.CI_GOOGLE_CLIENT_ID }} \
--client-secret ${{ secrets.CI_GOOGLE_CLIENT_SECRET }} \
--refresh-token ${{ secrets.CI_GOOGLE_REFRESH_TOKEN }} \
&& chrome-webstore-upload publish \
chrome-webstore-upload upload \
--source chrome-extension-${{ github.sha }}.zip \
--extension-id ${{ env.EXTENSION_ID }} \
--client-id ${{ secrets.CI_GOOGLE_CLIENT_ID }} \
--client-secret ${{ secrets.CI_GOOGLE_CLIENT_SECRET }} \
Expand Down

0 comments on commit 1bc40b6

Please sign in to comment.