[CI] Revert minified default builds
This commit is contained in:
parent
180990d54d
commit
13be8a158a
1 changed files with 6 additions and 4 deletions
10
.github/workflows/release_nightly.yml
vendored
10
.github/workflows/release_nightly.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
|||
node scripts/injectPolyfills.js
|
||||
sed -i -e "s/nightly/nightly-$(git rev-parse HEAD | cut -c 1-7)/" src/index.js
|
||||
|
||||
npx asar pack src debug.asar
|
||||
npx asar pack src app.asar
|
||||
|
||||
- name: Pack minified asar
|
||||
run: |
|
||||
|
@ -45,10 +45,11 @@ jobs:
|
|||
npx uglifyjs --compress --mangle -o index.js -- index.js
|
||||
cp src/package.json .
|
||||
npx minify-json package.json
|
||||
rm -rf src/*
|
||||
rm -rf src
|
||||
mkdir src
|
||||
cp index.js src
|
||||
cp package.json src
|
||||
npx asar pack src app.asar
|
||||
npx asar pack src minified.asar
|
||||
|
||||
- name: GitHub Release
|
||||
run: |
|
||||
|
@ -59,4 +60,5 @@ jobs:
|
|||
VERSION: 'nightly'
|
||||
NAME: 'Nightly'
|
||||
BODY: Latest Nightly release
|
||||
FILES: app.asar debug.asar
|
||||
# FILES: app.asar debug.asar
|
||||
FILES: app.asar
|
Loading…
Reference in a new issue