Skip to content

Buld & Publish (Firefox) #1

Buld & Publish (Firefox)

Buld & Publish (Firefox) #1

name: Buld & Publish (Firefox)
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build the extension
run: npm run build:ff
- name: Fix firefox manifest
run: sed -i '' 's/background\/scripts\.js/background\/service_worker\.js/g' dist/firefox/manifest.json
- name: Put the extension into a zip file
run: zip -r release_firefox.zip dist/firefox
- name: Upload to Mozilla Addons
uses: trmcnvn/firefox-addon@v1
with:

Check failure on line 32 in .github/workflows/build_and_publish_firefox.yml

View workflow run for this annotation

GitHub Actions / Buld & Publish (Firefox)

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_publish_firefox.yml (Line: 32, Col: 14): Unexpected value '' .github/workflows/build_and_publish_firefox.yml (Line: 34, Col: 9): Unexpected value 'api-key'
#uuid: '{}'
api-key: ${{ secrets.FIREFOX_KEY }}
api-secret: ${{ secrets.FIREFOX_SECRET }}
manifest: dist/firefox/manifest.json
xpi: release_firefox.zip