From d96d8155e538a5e33f35cf5f0d7ceef41f144c1e Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Wed, 20 Nov 2024 17:45:45 +0000 Subject: [PATCH] Closer --- .github/workflows/cron.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cron.yaml b/.github/workflows/cron.yaml index e61278e..fef9d2f 100644 --- a/.github/workflows/cron.yaml +++ b/.github/workflows/cron.yaml @@ -32,7 +32,7 @@ jobs: - name: Get last run id id: get_last_id run: | - echo $((${{ github.run_id }} - 1)) >> $GITHUB_OUTPUT + echo "last_run_id=$((${{ github.run_id }} - 1))" >> $GITHUB_OUTPUT - name: Download last run commit hashes uses: actions/download-artifact@v4 with: @@ -40,4 +40,4 @@ jobs: path: previous-run-hashes.txt github-token: ${{ secrets.GITHUB_TOKEN }} # Previous run - run-id: ${{ job.get_last_id.output1 }} + run-id: ${{ job.get_last_id.last_run_id }}