only stop mono service if running

This commit is contained in:
woodser 2025-01-14 11:26:46 -05:00
parent ff14f436ca
commit b05bfb4fd7
No known key found for this signature in database
GPG Key ID: 55A10DD48ADEE5EF

View File

@ -22,7 +22,10 @@ jobs:
distribution: 'temurin'
- name: Stop Mono service
run: sudo killall mono
run: |
if pgrep mono > /dev/null; then
sudo killall mono;
fi
- name: Start containers
run: docker compose -f "./docker/docker-compose.yml" up -d --build