[CI] Try another different way of making releases
This commit is contained in:
parent
00e9539e22
commit
562340a9c5
1 changed files with 9 additions and 8 deletions
17
.github/workflows/release_nightly.yml
vendored
17
.github/workflows/release_nightly.yml
vendored
|
@ -28,11 +28,12 @@ jobs:
|
||||||
rm -rf src/package-lock.json src/node_modules/.package-lock.json src/splash/splashScreen.js.self src/node_modules/**/package.json src/node_modules/**/*.md src/node_modules/**/.*.yml src/node_modules/**/.npmignore src/node_modules/**/LICENSE src/node_modules/**/test*
|
rm -rf src/package-lock.json src/node_modules/.package-lock.json src/splash/splashScreen.js.self src/node_modules/**/package.json src/node_modules/**/*.md src/node_modules/**/.*.yml src/node_modules/**/.npmignore src/node_modules/**/LICENSE src/node_modules/**/test*
|
||||||
npx asar pack src app.asar
|
npx asar pack src app.asar
|
||||||
|
|
||||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
- name: GitHub Release
|
||||||
with:
|
run: |
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
gh release delete ${{ env.VERSION }} -y
|
||||||
automatic_release_tag: "nightly"
|
gh release create ${{ env.VERSION }} -p -t "${{ env.NAME }}" ${{ env.FILES }}
|
||||||
prerelease: true
|
env:
|
||||||
title: "Nightly"
|
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
files: |
|
VERSION: 'nightly'
|
||||||
app.asar
|
NAME: 'Nightly'
|
||||||
|
FILES: app.asar
|
Loading…
Add table
Add a link
Reference in a new issue