forked from sheepzh/time-tracker-4-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (26 loc) · 996 Bytes
/
publish-firefox.yml
File metadata and controls
26 lines (26 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Publish to Firefox Addon Store
on: [workflow_dispatch]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "v22"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build:firefox
- name: Upload to Firefox addon store
uses: wdzeng/firefox-addon@v1.2.0-alpha.0
with:
addon-guid: "{a8cf72f7-09b7-4cd4-9aaa-7a023bf09916}"
xpi-path: market_packages/target.firefox.zip
source-file-path: market_packages/target.src.zip
compatibility: firefox, android
jwt-issuer: ${{ secrets.FIREFOX_JWD_ISSUER }}
jwt-secret: ${{ secrets.FIREFOX_JWD_SECRET }}