summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 13:20:32 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 13:20:32 +0200
commit81a74b4a96c7b5fb014ed2085fbddcf8d2b811cc (patch)
treefd9cb1d931199afa19daf0ec6712ded85c573be9 /.github
parent:bug: fix tsc missing (diff)
downloadserver-81a74b4a96c7b5fb014ed2085fbddcf8d2b811cc.tar.xz
update release
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b0a31780..6a3ff9e5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,13 +14,13 @@ jobs:
         os: [windows, macos, ubuntu]
         include:
           - os: windows
-            build: npm run bundle:windows
+            build: npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord-server-windows.exe' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js'
             artifact: fosscord-server-windows.exe
           - os: macos
-            build: npm run bundle:macos
+            build: npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord-server.app' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js' && tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app'
             artifact: fosscord-server-macos.app.tgz
           - os: ubuntu
-            build: npm run bundle:linux
+            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-server-linux.tgz' 'fosscord'
             artifact: fosscord-server-linux.tgz
     runs-on: ${{ matrix.os }}-latest
     steps:
@@ -28,7 +28,9 @@ jobs:
       - uses: actions/setup-node@v2
         with:
           node-version: 14
+      - run: cd bundle
       - run: npm install
+      - run: npm i caxa
         env:
           MONGOMS_VERSION: 4.4.3
       - run: npm run build