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:
parent
f4ce00800d
commit
eb4752a4e6
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user