This commit is contained in:
Ayush Saini 2023-08-19 15:05:45 +05:30
commit 73b1385d22

View file

@ -15,10 +15,10 @@ jobs:
with:
python-version: '3.11'
- name: Set execute permissions for wrapper
run: chmod +x ./ballisticakit_server
run: chmod +x ./bombsquad_server
- name: Set execute permissions for binary
run: chmod +x ./dist/ballisticakit_headless
run: chmod +x ./dist/bombsquad_headless
- name: Run server binary and capture output
run: |
@ -32,12 +32,12 @@ jobs:
echo "Error message found. Check server-output.log for details."
exit 1
elif ! grep -q "entering server-mode" server-output.log; then
echo "Success message not found in ballistica's output."
echo "Success message not found in server's output."
exit 1
fi
- name: Upload ballistica output as artifact
- name: Upload server output as artifact
if: always()
uses: actions/upload-artifact@v2
with:
name: server-output
path: ./server-output.log
path: ./server-output.log