From 13be8a158a6d05496e6303757e62f3a0c90c544b Mon Sep 17 00:00:00 2001 From: Oj Date: Tue, 14 Dec 2021 23:03:26 +0000 Subject: [PATCH] [CI] Revert minified default builds --- .github/workflows/release_nightly.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index a16d8af..52b5c66 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -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 \ No newline at end of file + # FILES: app.asar debug.asar + FILES: app.asar \ No newline at end of file