Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Mar 28, 2024
1 parent 362b27f commit 13ce5c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
cache: "pnpm"
- name: Build the extension
run: |
pnpm build --target=chrome-mv3
pnpm build --target=firefox-mv2
pnpm build --target=chrome-mv3 --zip
pnpm build --target=firefox-mv2 --zip
- name: Browser Platform Publish
uses: PlasmoHQ/bpp@v3
with:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ jobs:
cache: "pnpm"
- name: Build the extension
run: |
pnpm build --target=chrome-mv3
pnpm build --target=firefox-mv2
mkdir -p build/zip
mv build/*.zip build/zip
pnpm build --target=chrome-mv3 --zip
pnpm build --target=firefox-mv2 --zip
- uses: monkeyWie/[email protected]
id: get-release
with:
Expand All @@ -52,5 +50,5 @@ jobs:
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.get-release.outputs.upload_url }}
asset_path: build/zip/*
asset_path: build/*.zip
overwrite: true

0 comments on commit 13ce5c2

Please sign in to comment.