Skip to content

Commit fa1d0b6

Browse files
committed
Add artifact upload for error screenshots in update-translation-stats workflow
1 parent 39026a3 commit fa1d0b6

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/update-translation-stats.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ jobs:
3232
run: |
3333
cd scripts/transifex
3434
python main.py
35-
35+
36+
- name: Upload error screenshots
37+
if: ${{ failure() }}
38+
uses: actions/upload-artifact@v4
39+
with:
40+
name: error-screenshots
41+
path: scripts/transifex/login_error.png
42+
if-no-files-found: ignore
43+
3644
- name: Update README
3745
run: python scripts/transifex/update_readme.py
3846

0 commit comments

Comments
 (0)