From e70cdfe2823f86d281cd76d2896186703dbf6de5 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 11 Jul 2021 11:05:09 +0200 Subject: :art: clean up bundle script --- .github/workflows/release.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae25efcb..3fb57586 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,18 +14,14 @@ jobs: os: [windows, macos, ubuntu] include: - os: windows - build: npx caxa -i . -m "This may take a while to run the first time, please wait..." --output "fosscord-api-windows-${{ github.sha }}.exe" -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js" - artifact: fosscord-api-windows-${{ github.sha }}.exe + build: npm run bundle:windows + artifact: fosscord-api-windows.exe - os: macos - build: | - npx caxa -i . -m "This may take a while to run the first time, please wait..." --output "fosscord-api.app" -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js" - tar -czf "fosscord-api-macos-${{ github.sha }}.app.tgz" "fosscord-api.app" - artifact: fosscord-api-macos-${{ github.sha }}.app.tgz + build: npm run bundle:macos + artifact: fosscord-api-macos.app.tgz - os: ubuntu - build: | - npx caxa -i . -m "This may take a while to run the first time, please wait..." --output "fosscord" -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js" - tar -czf "fosscord-api-linux-${{ github.sha }}.tgz" "fosscord" - artifact: fosscord-api-linux-${{ github.sha }}.tgz + build: npm run bundle:linux + artifact: fosscord-api-linux.tgz runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v2 -- cgit 1.5.1