chore: upload Chrome extension crx

This commit is contained in:
Xmader 2020-12-08 14:48:03 -05:00
parent 18da36a34a
commit 5ea64e81d7
No known key found for this signature in database
GPG Key ID: A20B97FB9EB730E4
1 changed files with 5 additions and 0 deletions

View File

@ -13,12 +13,16 @@ on:
ref:
description: 'The branch, tag or SHA to release from'
required: false
chrome_ext_url:
description: 'URL to the Chrome Extension crx'
required: true
env:
VERSION: ${{ github.event.inputs.version }}
NPM_TAG: ${{ github.event.inputs.npm_tag }}
REF: ${{ github.event.inputs.ref || github.sha }}
ARTIFACTS_DIR: ./.artifacts
CHROME_EXT_URL: ${{ github.event.inputs.chrome_ext_url }}
jobs:
release:
@ -64,6 +68,7 @@ jobs:
mkdir -p $ARTIFACTS_DIR
cp dist/main.js $ARTIFACTS_DIR/musescore-downloader.user.js
cp dist/ext.zip $ARTIFACTS_DIR/musescore-downloader.webextension.zip
wget -q $CHROME_EXT_URL -P $ARTIFACTS_DIR/
- run: bash ./.github/workflows/get-signed-ext.sh
env:
EXT_ID: musescore-downloader