summary refs log tree commit diff
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
commit4f5a725404b938aa3ded1105f922eda9dcc225a6 (patch)
tree5dd879bc266a4419c293b65dc825ecd0082d8cb6
parent:bug: fix tsc missing (diff)
downloadserver-4f5a725404b938aa3ded1105f922eda9dcc225a6.tar.xz
update release
-rw-r--r--.github/workflows/release.yml8
-rw-r--r--api/src/index.ts1
2 files changed, 5 insertions, 4 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
diff --git a/api/src/index.ts b/api/src/index.ts
index 6037e31f..73b9dbd2 100644
--- a/api/src/index.ts
+++ b/api/src/index.ts
@@ -5,7 +5,6 @@ export * from "./schema/Channel";
 export * from "./schema/Guild";
 export * from "./schema/Invite";
 export * from "./schema/Message";
-export * from "./util/Config";
 export * from "./util/Constants";
 export * from "./util/instanceOf";
 export * from "./util/instanceOf";