mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
feat(ci): firefox-extension build
feat(ci): firefox-extension build
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -54,3 +54,12 @@ jobs:
|
||||
with:
|
||||
name: BewlyBewly Zip
|
||||
path: extension
|
||||
|
||||
- name: Build Extension
|
||||
run: pnpm build-firefox
|
||||
|
||||
- name: Upload Zip
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: BewlyBewly Zip
|
||||
path: extension-firefox
|
||||
|
||||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -36,15 +36,21 @@ jobs:
|
||||
run: pnpm install
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
run: |
|
||||
pnpm build
|
||||
pnpm build-firefox
|
||||
|
||||
- name: Build Extension
|
||||
run: pnpm pack:zip
|
||||
run: |
|
||||
pnpm pack:zip
|
||||
pnpm pack:zip-firefox
|
||||
|
||||
- name: Upload assets to a Release
|
||||
uses: meeDamian/github-release@v2.0.3
|
||||
with:
|
||||
files: extension.zip
|
||||
files: |
|
||||
extension.zip
|
||||
extension-firefox.zip
|
||||
token: ${{ secrets.RELEASE_TOKEN }}
|
||||
allow_override: true
|
||||
gzip: false
|
||||
|
||||
Reference in New Issue
Block a user