Skip to content

Commit 6ba7012

Browse files
committed
Idiot
1 parent 29723d9 commit 6ba7012

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cron.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ jobs:
5050
uses: actions/download-artifact@v4
5151
with:
5252
name: commit-hashes.txt
53-
path: previous-run-hashes.txt
53+
path: previous-run
5454
github-token: ${{ secrets.GITHUB_TOKEN }}
5555
run-id: ${{ fromJSON(steps.get_last_id.outputs.INFO).id }}
5656
- name: Check if test run is needed
5757
id: check_run_needed
5858
run: |
59-
ls -l
60-
if [ ! -f previous-run-hashes.txt ]; then
59+
ls -l previous-run/
60+
if [ ! -f previous-run/commit-hashes.txt ]; then
6161
echo "No previous run hashes, need to re-run"
6262
echo 'INFO={"rerun": true}' >> $GITHUB_OUTPUT
63-
elif cmp -s commit-hashes.txt previous-run-hashes.txt; then
63+
elif cmp -s commit-hashes.txt previous-run/commit-hashes.txt; then
6464
echo "Previous run hash same as this one, no need to re-run"
6565
echo 'INFO={"rerun": false}' >> $GITHUB_OUTPUT
6666
else

0 commit comments

Comments
 (0)