Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/publich-edge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish to Edge Addon Store
on:
push:
branches:
- "release"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add release branch
run: |
git fetch -a
git branch release origin/release
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "v20.11.0"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Upload
uses: wdzeng/edge-addon@v2
with:
zip-path: market_packages/target.zip
product-id: 2a99ae83-5ec8-4ad2-aa63-9a276fc708ce
client-id: ${{ secrets.EDGE_CLIENT_ID }}
api-key: ${{ secrets.EDGE_API_KEY}}
upload-only: false
33 changes: 33 additions & 0 deletions .github/workflows/publish-chrome.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish to Chrome Webstore
on:
push:
branches:
- "release"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add release branch
run: |
git fetch -a
git branch release origin/release
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "v20.11.0"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Upload
uses: mnao305/chrome-extension-upload@v5.0.0
with:
file-path: market_packages/target.zip
extension-id: dkdhhcbjijekmneelocdllcldcpmekmm
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}
publish: true
31 changes: 31 additions & 0 deletions .github/workflows/publish-firefox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish to Firefox Addon Store
on:
push:
branches:
- "release"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add release branch
run: |
git fetch -a
git branch release origin/release
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "v20.11.0"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build:firefox
- name: Upload to Firefox addon store
uses: wdzeng/firefox-addon@v1
with:
addon-guid: "{7b312f5e-9680-436b-acc1-9b09f60e8aaa}"
xpi-path: market_packages/target.firefox.zip
jwt-issuer: ${{ secrets.FIREFOX_JWD_ISSUER }}
jwt-secret: ${{ secrets.FIREFOX_JWD_SECRET }}
43 changes: 0 additions & 43 deletions .github/workflows/publish.yml

This file was deleted.