[CI] Disable nightly minified builds again

This commit is contained in:
Ducko 2021-12-16 13:17:26 +00:00
parent cb0ed8d7ad
commit 6220210ef5

View file

@ -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