summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-17 18:51:17 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-17 18:51:17 +0200
commita89028d9b1f1cec62c0827f5194c92b39c94b647 (patch)
tree276c9d57dbb9d84c1d2243ca0bfc61076ea0916f /.github
parent:bug: fix bundle import path (diff)
downloadserver-a89028d9b1f1cec62c0827f5194c92b39c94b647.tar.xz
:bug: fix release
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml22
1 files changed, 17 insertions, 5 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6daea25b..05ce6cf3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,13 +14,13 @@ 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-server-windows.exe' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js'
+            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}}/bundle/dist/start.js'
             artifact: fosscord-server-windows.exe
           - os: 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}}/bundle/dist/start.js' && tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app'
+            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}}/bundle/dist/start.js' && tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app'
             artifact: fosscord-server-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}}/bundle/dist/start.js' && tar -czf 'fosscord-server-linux.tgz' 'fosscord'
+            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}}/bundle/dist/start.js' && tar -czf 'fosscord-server-linux.tgz' 'fosscord'
             artifact: fosscord-server-linux.tgz
     runs-on: ${{ matrix.os }}-latest
     steps:
@@ -32,9 +32,21 @@ jobs:
           node-version: 14
       - run: |
           cd util
-          npm install
+          npm pack
+          cd ../api
+          npm i ../util/fosscord-util-1.0.0.tgz
+          npm pack
+          cd ../cdn
+          npm i ../util/fosscord-util-1.0.0.tgz
+          npm pack
+          cd ../gateway
+          npm i ../util/fosscord-util-1.0.0.tgz
+          npm pack
           cd ../bundle
-          npm install
+          npm i ../util/fosscord-util-1.0.0.tgz
+          npm i ../cdn/fosscord-cdn-1.0.0.tgz
+          npm i ../gateway/fosscord-gateway-1.0.0.tgz
+          npm i ../api/fosscord-api-1.0.0.tgz
           npm i caxa
           npm run build
           ${{ matrix.build }}