Update ci.yaml

This commit is contained in:
Ayush Saini 2023-08-19 02:45:26 +05:30 committed by GitHub
parent 4cebf909e3
commit 2137cdd9ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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