Skip to content

Commit 13ce5c2

Browse files
committed
ci: fix
1 parent 362b27f commit 13ce5c2

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
cache: "pnpm"
2626
- name: Build the extension
2727
run: |
28-
pnpm build --target=chrome-mv3
29-
pnpm build --target=firefox-mv2
28+
pnpm build --target=chrome-mv3 --zip
29+
pnpm build --target=firefox-mv2 --zip
3030
- name: Browser Platform Publish
3131
uses: PlasmoHQ/bpp@v3
3232
with:

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ jobs:
4040
cache: "pnpm"
4141
- name: Build the extension
4242
run: |
43-
pnpm build --target=chrome-mv3
44-
pnpm build --target=firefox-mv2
45-
mkdir -p build/zip
46-
mv build/*.zip build/zip
43+
pnpm build --target=chrome-mv3 --zip
44+
pnpm build --target=firefox-mv2 --zip
4745
- uses: monkeyWie/[email protected]
4846
id: get-release
4947
with:
@@ -52,5 +50,5 @@ jobs:
5250
uses: shogo82148/actions-upload-release-asset@v1
5351
with:
5452
upload_url: ${{ steps.get-release.outputs.upload_url }}
55-
asset_path: build/zip/*
53+
asset_path: build/*.zip
5654
overwrite: true

0 commit comments

Comments
 (0)