[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
|
npx asar pack src app.asar
|
||||||
|
|
||||||
- name: Pack minified asar
|
# - name: Pack minified asar
|
||||||
run: |
|
# run: |
|
||||||
npm i -g esbuild uglify-js minify-json
|
# 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 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 index.js -- index.js
|
||||||
npx uglifyjs --compress --mangle -o preload.js -- src/splash/preload.js
|
# npx uglifyjs --compress --mangle -o preload.js -- src/splash/preload.js
|
||||||
cp src/package.json .
|
# cp src/package.json .
|
||||||
cp src/splash/index.html .
|
# cp src/splash/index.html .
|
||||||
npx minify-json package.json
|
# npx minify-json package.json
|
||||||
rm -rf src
|
# rm -rf src
|
||||||
mkdir src
|
# mkdir src
|
||||||
cp index.js src
|
# cp index.js src
|
||||||
cp package.json src
|
# cp package.json src
|
||||||
cp index.html src
|
# cp index.html src
|
||||||
cp preload.js src
|
# cp preload.js src
|
||||||
npx asar pack src testing.asar
|
# npx asar pack src testing.asar
|
||||||
|
|
||||||
- name: GitHub Release
|
- name: GitHub Release
|
||||||
run: |
|
run: |
|
||||||
|
@ -68,5 +68,5 @@ jobs:
|
||||||
VERSION: 'nightly'
|
VERSION: 'nightly'
|
||||||
NAME: 'Nightly'
|
NAME: 'Nightly'
|
||||||
BODY: Latest Nightly release
|
BODY: Latest Nightly release
|
||||||
FILES: app.asar testing.asar
|
# FILES: app.asar testing.asar
|
||||||
# FILES: app.asar
|
FILES: app.asar
|
Loading…
Add table
Add a link
Reference in a new issue