Skip to content

Commit da498c0

Browse files
committed
Update CRX package installation to version 5.0.1 and adjust build command accordingly
1 parent 882a019 commit da498c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
3232
echo "Version: ${VERSION}"
3333
34-
- name: Install crx3 package
35-
run: npm install -g crx3@2.0.0
34+
- name: Install crx package
35+
run: npm install -g crx@5.0.1
3636

3737
- name: Create private key file
3838
run: echo "${{ secrets.CRX_PRIVATE_KEY }}" > private-key.pem
@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Build CRX file
4848
run: |
49-
npx crx3 -p private-key.pem extension-source/ -o build/GoExport-Extension-${{ steps.get_version.outputs.VERSION }}.crx
49+
npx crx pack extension-source/ -p private-key.pem -o build/GoExport-Extension-${{ steps.get_version.outputs.VERSION }}.crx
5050
ls -lh build/
5151
5252
- name: Create ZIP archive (for manual installation)

0 commit comments

Comments
 (0)