chore: upload Chrome extension crx
This commit is contained in:
parent
18da36a34a
commit
5ea64e81d7
|
@ -13,12 +13,16 @@ on:
|
||||||
ref:
|
ref:
|
||||||
description: 'The branch, tag or SHA to release from'
|
description: 'The branch, tag or SHA to release from'
|
||||||
required: false
|
required: false
|
||||||
|
chrome_ext_url:
|
||||||
|
description: 'URL to the Chrome Extension crx'
|
||||||
|
required: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ github.event.inputs.version }}
|
VERSION: ${{ github.event.inputs.version }}
|
||||||
NPM_TAG: ${{ github.event.inputs.npm_tag }}
|
NPM_TAG: ${{ github.event.inputs.npm_tag }}
|
||||||
REF: ${{ github.event.inputs.ref || github.sha }}
|
REF: ${{ github.event.inputs.ref || github.sha }}
|
||||||
ARTIFACTS_DIR: ./.artifacts
|
ARTIFACTS_DIR: ./.artifacts
|
||||||
|
CHROME_EXT_URL: ${{ github.event.inputs.chrome_ext_url }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
@ -64,6 +68,7 @@ jobs:
|
||||||
mkdir -p $ARTIFACTS_DIR
|
mkdir -p $ARTIFACTS_DIR
|
||||||
cp dist/main.js $ARTIFACTS_DIR/musescore-downloader.user.js
|
cp dist/main.js $ARTIFACTS_DIR/musescore-downloader.user.js
|
||||||
cp dist/ext.zip $ARTIFACTS_DIR/musescore-downloader.webextension.zip
|
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
|
- run: bash ./.github/workflows/get-signed-ext.sh
|
||||||
env:
|
env:
|
||||||
EXT_ID: musescore-downloader
|
EXT_ID: musescore-downloader
|
||||||
|
|
Loading…
Reference in New Issue