Skip to content

Commit 8576ee1

Browse files
authored
Update main.yml
1 parent ca62587 commit 8576ee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ jobs:
6060
- name: Release to Mozilla Amo
6161
if: ${{ github.event_name == 'workflow_dispatch' }}
6262
run: |
63-
npm i web-ext
63+
npm install --global web-ext
6464
cd ./dist/LeetcodeSessionManager
65-
web-ext sign --api-key ${{ secrets.FIREFOX_API_KEY }} --api-secret ${{ secrets.FIREFOX_API_SECRET }} --channel listed --id ${{ secrets.FIREFOX_API_ID }} || true
65+
npx web-ext sign --api-key ${{ secrets.FIREFOX_API_KEY }} --api-secret ${{ secrets.FIREFOX_API_SECRET }} --channel listed --id ${{ secrets.FIREFOX_API_ID }} || true
6666
6767
- name: 'Create GitHub Release'
6868
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)