We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 689d836 commit 8b9b1f4Copy full SHA for 8b9b1f4
.github/workflows/cron.yaml
@@ -30,6 +30,7 @@ jobs:
30
# name: commit-hashes.txt
31
# path: commit-hashes.txt
32
- name: Get last run id
33
+ id: get_last_id
34
run: |
35
echo $((${{ github.run_id }} - 1)) >> $GITHUB_OUTPUT
36
- name: Download last run commit hashes
@@ -39,4 +40,4 @@ jobs:
39
40
path: previous-run-hashes.txt
41
github-token: ${{ secrets.GITHUB_TOKEN }}
42
# Previous run
- run-id: ${{ outputs.output1 }}
43
+ run-id: ${{ job.get_last_id.output1 }}
0 commit comments