Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vanessa committed Nov 12, 2023
1 parent 8636372 commit 021f155
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,14 @@ jobs:
- name: Install dependencies
run: |
pnpm install
pnpm run release ${{ github.event.inputs.release_type }}
pnpm install -g chrome-webstore-upload-cli
- name: Build and package
id: build_and_package
run: pnpm run release ${{ github.event.inputs.release_type }}
- name: Upload to Chrome Web Store
if: ${{ steps.build_and_package.outcome == 'success' }}
run: |
pnpm run chrome-webstore-upload upload \
chrome-webstore-upload upload \
--source chrome-extension.zip \
--extension-id ${{ env.EXTENSION_ID }} \
--client-id ${{ secrets.GOOGLE_CLIENT_ID }} \
Expand Down

0 comments on commit 021f155

Please sign in to comment.