mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-25 08:58:27 +03:00
Added manifest building.
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -18,17 +18,15 @@ jobs:
|
||||
|
||||
# Create Chrome artifacts
|
||||
- name: Create Chrome artifacts
|
||||
run: npm run build
|
||||
run: npm run build:chrome
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Chrome Extension
|
||||
path: dist
|
||||
|
||||
# Create Firefox artifacts
|
||||
- name: Move manifest
|
||||
run: mv ./dist/manifest.json ./dist/manifest.json.original
|
||||
- name: Combine manifest for Firefox
|
||||
run: jq -s '.[0] * .[1]' ./dist/manifest.json.original ./dist/firefox_manifest-extra.json > manifest.json
|
||||
- name: Create Firefox artifacts
|
||||
run: npm run build:firefox
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Firefox Extension
|
||||
|
||||
Reference in New Issue
Block a user