chore: github action
This commit is contained in:
parent
29d9f41cf3
commit
83f30e7093
1 changed files with 5 additions and 2 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -58,14 +58,17 @@ jobs:
|
|||
apiKey: ${{ secrets.AMO_SIGN_KEY }}
|
||||
apiSecret: ${{ secrets.AMO_SIGN_SECRET }}
|
||||
|
||||
- run: |
|
||||
cp dist/main.js musescore-downloader.user.js && \
|
||||
cp dist/ext.zip musescore-downloader.webextension.zip
|
||||
- name: Github Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SIGNED_WEB_EXT: ${{ steps.web-ext-build.outputs.target }}
|
||||
run: |
|
||||
hub release create \
|
||||
-a "dist/main.js#userscript.js" \
|
||||
-a "dist/ext.zip#webextension.zip" \
|
||||
-a "musescore-downloader.user.js" \
|
||||
-a "musescore-downloader.webextension.zip" \
|
||||
-a "$SIGNED_WEB_EXT" \
|
||||
-m v$VERSION \
|
||||
-t $REF \
|
||||
|
|
Loading…
Reference in a new issue