Skip to content

Commit

Permalink
Fix caching execution and kill process
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-IX committed Jan 2, 2025
1 parent 3770cc8 commit 42bba54
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/manual_api_cache_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ jobs:
echo "Set Settings"
python scripts/set_default_settings.py
echo "Building Cache"
python source/main.py --build-cache
sleep 120
python source/main.py --build-cache &
MAIN_PID=$!
sleep 240
echo "Killing main.py"
kill $MAIN_PID
echo "Updating Cache API files"
python scripts/update_cache_api.py
- name: Commit Changes
Expand Down

0 comments on commit 42bba54

Please sign in to comment.