only stop mono service if running

This commit is contained in:
woodser 2025-01-14 11:26:46 -05:00
parent ad7f6c5e7a
commit bc3a6c9e39

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