[CI] Disable nightly minified builds again
This commit is contained in:
parent
cb0ed8d7ad
commit
6220210ef5
1 changed files with 18 additions and 18 deletions
36
.github/workflows/release_nightly.yml
vendored
36
.github/workflows/release_nightly.yml
vendored
|
@ -38,22 +38,22 @@ jobs:
|
|||
|
||||
npx asar pack src app.asar
|
||||
|
||||
- name: Pack minified asar
|
||||
run: |
|
||||
npm i -g esbuild uglify-js minify-json
|
||||
npx esbuild ./src --bundle --platform=node --external:electron --external:original-fs --external:auto-updater --outfile=index.js
|
||||
npx uglifyjs --compress --mangle -o index.js -- index.js
|
||||
npx uglifyjs --compress --mangle -o preload.js -- src/splash/preload.js
|
||||
cp src/package.json .
|
||||
cp src/splash/index.html .
|
||||
npx minify-json package.json
|
||||
rm -rf src
|
||||
mkdir src
|
||||
cp index.js src
|
||||
cp package.json src
|
||||
cp index.html src
|
||||
cp preload.js src
|
||||
npx asar pack src testing.asar
|
||||
# - name: Pack minified asar
|
||||
# run: |
|
||||
# npm i -g esbuild uglify-js minify-json
|
||||
# npx esbuild ./src --bundle --platform=node --external:electron --external:original-fs --external:auto-updater --outfile=index.js
|
||||
# npx uglifyjs --compress --mangle -o index.js -- index.js
|
||||
# npx uglifyjs --compress --mangle -o preload.js -- src/splash/preload.js
|
||||
# cp src/package.json .
|
||||
# cp src/splash/index.html .
|
||||
# npx minify-json package.json
|
||||
# rm -rf src
|
||||
# mkdir src
|
||||
# cp index.js src
|
||||
# cp package.json src
|
||||
# cp index.html src
|
||||
# cp preload.js src
|
||||
# npx asar pack src testing.asar
|
||||
|
||||
- name: GitHub Release
|
||||
run: |
|
||||
|
@ -68,5 +68,5 @@ jobs:
|
|||
VERSION: 'nightly'
|
||||
NAME: 'Nightly'
|
||||
BODY: Latest Nightly release
|
||||
FILES: app.asar testing.asar
|
||||
# FILES: app.asar
|
||||
# FILES: app.asar testing.asar
|
||||
FILES: app.asar
|
Loading…
Reference in a new issue