-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (51 loc) · 1.57 KB
/
publish.yml
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
51
52
on:
workflow_dispatch:
inputs:
version:
description: 'Version to publish'
required: true
verbose:
description: 'Verbose mode'
required: false
default: 'false'
jobs:
run-bpp:
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow: build.yml
workflow_conclusion: success
branch: master
event: push
name: prune
path: build
- name: Browser Platform Publish
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ secrets.SUBMIT_KEYS }}
chrome-file: 'build/chrome-mv3-prod.zip'
firefox-file: 'build/firefox-mv3-prod.zip'
edge-file: 'build/edge-mv3-prod.zip'
edge-notes: "Publishing latest prune version (${{ inputs.version }}) to Edge Store."
# opera-file: 'build/opera-mv3-prod.zip'
verbose: ${{ inputs.verbose }}
# upload-safari:
# runs-on: macos-10.15
# timeout-minutes: 15
# steps:
# - name: Git - Checkout
# uses: actions/checkout@v3.0.0
# with:
# ref: ${{ github.ref }}
# - name: Setup - Xcode
# run: xcode-select -s /Applications/Xcode_13.2.app
# - name: Setup - Ruby and bundler dependencies
# uses: ruby/setup-ruby@v1.99.0
# with:
# bundler-cache: true
# - name: Safari Webstore Upload via Browser Platform Publish
# uses: PlasmoHQ/bpp@v2
# with:
# keys: ${{ secrets.BPP_KEYS }}