-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d59273e
commit 4d05d61
Showing
3 changed files
with
40 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
name: "Submit to Web Store" | ||
name: "Submit to Web Stores" | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
channel: | ||
description: 'Release channel to publish to' | ||
required: true | ||
type: choice | ||
options: | ||
- staging | ||
- production | ||
default: staging | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
env: | ||
CHANNEL: ${{ github.event.inputs.channel || 'staging' }} | ||
|
||
jobs: | ||
build: | ||
|
@@ -21,17 +33,32 @@ jobs: | |
with: | ||
version: latest | ||
run_install: true | ||
- name: Use Node.js 16.x | ||
- name: Use Node.js 18.x | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 16.x | ||
node-version: 18.x | ||
cache: "pnpm" | ||
- name: Build the extension | ||
run: pnpm build | ||
- name: Package the extension into a zip artifact | ||
run: pnpm package | ||
- name: Browser Platform Publish | ||
- name: Build the extension (Chrome) | ||
run: pnpm plasmo build --target=chrome-mv3 | ||
- name: Build the extension (Firefox) | ||
run: pnpm plasmo build --target=firefox-mv2 | ||
- name: Package the extension into zip artifacts | ||
run: | | ||
pnpm package --target=chrome-mv3 | ||
pnpm package --target=firefox-mv2 | ||
- name: Browser Platform Publish (staging) | ||
uses: PlasmoHQ/bpp@v3 | ||
if: env.CHANNEL == 'staging' | ||
with: | ||
keys: ${{ secrets.SUBMIT_KEYS_STAGING }} | ||
verbose: true | ||
chrome-file: build/chrome-mv3-prod.zip | ||
firefox-file: build/firefox-mv2-prod.zip | ||
- name: Browser Platform Publish (production) | ||
uses: PlasmoHQ/bpp@v3 | ||
if: env.CHANNEL == 'production' | ||
with: | ||
keys: ${{ secrets.SUBMIT_KEYS }} | ||
artifact: build/chrome-mv3-prod.zip | ||
keys: ${{ secrets.SUBMIT_KEYS_PRODUCTION }} | ||
verbose: true | ||
chrome-file: build/chrome-mv3-prod.zip | ||
firefox-file: build/firefox-mv2-prod.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ dist/ | |
.plasmo | ||
|
||
# bpp - http://bpp.browser.market/ | ||
keys.json | ||
key*.json | ||
|
||
# typescript | ||
.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "gitpod", | ||
"displayName": "Gitpod", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "The developer platform for on-demand cloud development environments. Create software faster and more securely.", | ||
"author": "Gitpod <[email protected]>", | ||
"homepage": "https://www.gitpod.io", | ||
|