Skip to content

Commit 8815b05

Browse files
authored
Simplify image generation step in workflow
Removed retry logic and timeout from image generation step.
1 parent 15addf0 commit 8815b05

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,9 @@ jobs:
3737
python3 -m pip install --upgrade pip setuptools wheel
3838
python3 -m pip install -r requirements.txt
3939
40-
# Generate all statistics images with retry logic
4140
- name: Generate images
4241
run: |
43-
python3 --version
44-
echo "Starting image generation..."
45-
46-
# Run with timeout and retry logic
47-
for i in {1..3}; do
48-
echo "Attempt $i of 3"
49-
timeout 300 python3 generate_images.py && break
50-
echo "Attempt $i failed, waiting 30 seconds before retry..."
51-
sleep 30
52-
done
53-
54-
echo "Generation completed. Checking files:"
55-
ls -la *.svg || echo "No SVG files found"
56-
42+
python3 generate_images.py
5743
env:
5844
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
5945
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)