-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (45 loc) · 1.33 KB
/
release.yml
File metadata and controls
50 lines (45 loc) · 1.33 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Release
on:
push:
# branches: [master]
tags:
- "*"
env:
CLIENT_ID: "${{ secrets.CLIENT_ID }}"
CLIENT_SECRET: "${{ secrets.CLIENT_SECRET }}"
EXTENSION_ID: "${{ secrets.EXTENSION_ID }}"
REFRESH_TOKEN: "${{ secrets.REFRESH_TOKEN }}"
WEB_EXT_API_KEY: "${{ secrets.WEB_EXT_API_KEY }}"
WEB_EXT_API_SECRET: "${{ secrets.WEB_EXT_API_SECRET }}"
WEB_EXT_ID: "${{ secrets.WEB_EXT_ID }}"
EDGE_PRODUCT_ID: "${{secrets.EDGE_PRODUCT_ID}}"
EDGE_CLIENT_ID: "${{secrets.EDGE_CLIENT_ID}}"
EDGE_API_KEY: "${{secrets.EDGE_API_KEY}}"
jobs:
chrome-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Before install
run: npm i -g chrome-webstore-upload-cli@2.1.0
- name: Release
run: npm run build && npm run release:chrome
firefox-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Before install
run: npm i -g web-ext@7.11.0
- name: Release
run: npm run build && npm run release:firefox
edge-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Before install
run: npm i -g publish-browser-extension@3.0.1
- name: Release
run: npm run build && npm run release:edge