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

🐛 fix executable + pause on crash

This commit is contained in:
Flam3rboy 2021-10-17 02:24:40 +02:00
parent f4ce00800d
commit eb4752a4e6

View File

@ -17,14 +17,17 @@ jobs:
file: fosscord-server-windows.exe
package: ""
artifact: fosscord-server-windows.exe
pause: "& PAUSE"
- os: macos
file: fosscord-server.app
package: tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app'
artifact: fosscord-server-macos.app.tgz
pause: "; echo 'Press any key to exit...' && read"
- os: ubuntu
file: fosscord
package: chmod +x fosscord && tar -czf 'fosscord-server-linux.tgz' 'fosscord'
artifact: fosscord-server-linux.tgz
pause: "; echo 'Press any key to exit...' && read"
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
@ -36,7 +39,7 @@ jobs:
- run: |
cd bundle
npm run setup
npx caxa -i . -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output '${{matrix.file}}' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js'
npx caxa -i . -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output '${{matrix.file}}' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/bundle/src/start.js' ${{matrix.pause}}
${{ matrix.package }}
- uses: actions/upload-artifact@v2
with: