diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-17 02:24:40 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-17 02:24:40 +0200 |
commit | 61dc10d6a011363e94507f465cd72a3f64a7e331 (patch) | |
tree | fe7582c61a39b1d3aba5e0314f3c6ac8971cb487 /.github | |
parent | :bug: fix docker image (diff) | |
download | server-61dc10d6a011363e94507f465cd72a3f64a7e331.tar.xz |
:bug: fix executable + pause on crash
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8cf2e14..ff104a99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: |