We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aabcbce commit 0d0a528Copy full SHA for 0d0a528
1 file changed
.github/workflows/update.yml
@@ -26,8 +26,17 @@ jobs:
26
- name: Run scraper
27
run: node index.js
28
29
+ - name: Check if debug files exist
30
+ id: debug_check
31
+ run: |
32
+ if [[ -f debug.html || -f screenshot.png ]]; then
33
+ echo "found=true" >> $GITHUB_OUTPUT
34
+ else
35
+ echo "found=false" >> $GITHUB_OUTPUT
36
+ fi
37
+
38
- name: Upload debug files
- if: always()
39
+ if: steps.debug_check.outputs.found == 'true'
40
uses: actions/upload-artifact@v4
41
with:
42
name: debug-artifacts
0 commit comments