Use release assets for submission instead

main
Louis 3 years ago
parent f0282e4bf0
commit 17d220393d

@ -6,23 +6,12 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Download Github Release Assets
- uses: actions/setup-node@v2.1.2 uses: plasmo-corp/download-release-asset@v1.0.0
with: with:
node-version: '14' files: webextension.zip
- name: Restore npm cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Build package
run: npm run build
- name: Browser Plugin Publish - name: Browser Plugin Publish
uses: plasmo-corp/bpp@v1 uses: plasmo-corp/bpp@v1
with: with:
artifact: ./build/webextension.zip artifact: webextension.zip
keys: ${{ secrets.SUBMIT_KEYS }} keys: ${{ secrets.SUBMIT_KEYS }}