1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

🐛 fix caxa build cmd

This commit is contained in:
Flam3rboy 2021-07-11 09:32:49 +02:00
parent 528dce4b49
commit bb5c9dddac

View File

@ -14,16 +14,16 @@ jobs:
os: [windows, macos, ubuntu]
include:
- os: windows
build: npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js" --output "Fosscord-server-windows-${{ github.sha }}.exe"
build: npx caxa -i . --output "Fosscord-server-windows-${{ github.sha }}.exe" -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js"
artifact: Fosscord-server-windows-${{ github.sha }}.exe
- os: macos
build: |
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js" --output "Fosscord.app"
tar -czf "Fosscord--server-macos-${{ github.sha }}.app.tgz" "Fosscord.app"
artifact: Fosscord--server-macos-${{ github.sha }}.app.tgz
npx caxa -i . --output "Fosscord.app" -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js"
tar -czf "Fosscord-server-macos-${{ github.sha }}.app.tgz" "Fosscord.app"
artifact: Fosscord-server-macos-${{ github.sha }}.app.tgz
- os: ubuntu
build: |
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js" --output "fosscord"
npx caxa -i . --output "fosscord" -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/dist/start.js"
tar -czf "fosscord-server-linux-${{ github.sha }}.tgz" "fosscord"
artifact: fosscord-server-linux-${{ github.sha }}.tgz
runs-on: ${{ matrix.os }}-latest