Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit 901953e

Browse files
committed
fix
1 parent c528d7d commit 901953e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/cron.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ jobs:
1414
- uses: actions/setup-python@v5
1515
with:
1616
cache: 'pip'
17-
- run: pip install -r requirements.txt
18-
- run: python3 tests/rws_tests.py
19-
- run: python3 check_sites.py -i related_website_sets.JSON --with_diff --strict_formatting > results.txt
20-
- run: cat results.txt
21-
- id: read_results
22-
uses: andstor/file-reader-action@v1
23-
with:
24-
path: "results.txt"
25-
- if: steps.read_results.outputs.contents != 'success'
17+
- run: |
18+
pip install -r requirements.txt
19+
python tests/rws_tests.py
20+
python check_sites.py -i related_website_sets.JSON --with_diff --strict_formatting > results.txt
21+
cat results.txt
22+
export VALIDATION_RESULTS=$(cat results.txt)
23+
- if: ${{ env.VALIDATION_RESULTS == 'success' }}
2624
uses: actions/github-script@v3
2725
with:
2826
script: core.setFailed('This run has failed.')

0 commit comments

Comments
 (0)