summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-16 23:53:44 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-16 23:53:44 +0200
commit078882b952a386cf01b494daa04f7b779b9b37ae (patch)
treef7423e3c2df9f69b4f7d39b5eadc47b1c23dcc15
parentfix pre release script (diff)
downloadserver-078882b952a386cf01b494daa04f7b779b9b37ae.tar.xz
:bug: fix symlink linux
-rw-r--r--.github/workflows/release.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 252960f1..0ab2c2c1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,18 +24,18 @@ jobs:
             artifact: fosscord-server-windows.exe
           - os: macos
             pre: |
-              ln -sf node_modules/@fosscord/api ../api 
-              ln -sf node_modules/@fosscord/cdn ../cdn 
-              ln -sf node_modules/@fosscord/gateway ../gateway 
-              ln -sf node_modules/@fosscord/util ../util
+              ln -sf ../api node_modules/@fosscord/api 
+              ln -sf ../cdn node_modules/@fosscord/cdn 
+              ln -sf ../gateway node_modules/@fosscord/gateway 
+              ln -sf ../util node_modules/@fosscord/util
             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
             pre: |
-              ln -sf node_modules/@fosscord/api ../api 
-              ln -sf node_modules/@fosscord/cdn ../cdn 
-              ln -sf node_modules/@fosscord/gateway ../gateway 
-              ln -sf node_modules/@fosscord/util ../util
+              ln -sf ../api node_modules/@fosscord/api 
+              ln -sf ../cdn node_modules/@fosscord/cdn 
+              ln -sf ../gateway node_modules/@fosscord/gateway 
+              ln -sf ../util node_modules/@fosscord/util
             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