Skip to content

Commit 772d77d

Browse files
committed
update web ext submit version
1 parent 2d848a2 commit 772d77d

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/distribute.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ jobs:
4040
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
4141
- name: Install yarn dependencies
4242
run: yarn
43-
- name: Build and zip the extension
44-
run: |
45-
if [ ${{github.event.inputs.targetStore}} == 'chrome' ] || [ ${{github.event.inputs.targetStore}} == 'all' ]; then
46-
yarn build-chrome
47-
fi
48-
if [ ${{github.event.inputs.targetStore}} == 'firefox' ] || [ ${{github.event.inputs.targetStore}} == 'all' ]; then
49-
yarn build-firefox
50-
fi
5143

5244
tag_version:
5345
runs-on: ubuntu-latest
@@ -78,6 +70,8 @@ jobs:
7870
needs: install-dependencies
7971
runs-on: ubuntu-latest
8072
steps:
73+
- name: Build and zip the extension
74+
run: yarn build-chrome
8175
- name: Install chrome dependencies
8276
run: yarn global add chrome-webstore-upload-cli
8377

@@ -94,8 +88,10 @@ jobs:
9488
needs: install-dependencies
9589
runs-on: ubuntu-latest
9690
steps:
91+
- name: Build and zip the extension
92+
run: yarn build-firefox
9793
- name: Install Firefox dependencies
98-
run: yarn global add web-ext web-ext-submit@6
94+
run: yarn global add web-ext web-ext-submit@7
9995

10096
- name: Upload the package to Firefox web store
10197
if: ${{ github.event.inputs.testMode == 'false' }}

0 commit comments

Comments
 (0)