diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-17 18:51:17 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-17 18:51:17 +0200 |
commit | c9473cab1e4d5d305347ee43ab6c517fb27ebea8 (patch) | |
tree | cb340e66b70eca0a3bc8a7477abeb60901d93bfb /.github | |
parent | :bug: fix bundle import path (diff) | |
download | server-c9473cab1e4d5d305347ee43ab6c517fb27ebea8.tar.xz |
:bug: fix release
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 22 |
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 }} |