Skip to content

Commit d3bc40d

Browse files
committed
Try specifying token and check previous run id
1 parent 09b289f commit d3bc40d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/vartest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@ jobs:
2525
# Fetches the ID of the last completed run for the current workflow
2626
PREVIOUS_RUN_ID=$(gh run list --workflow "${{ github.workflow }}" --status completed --limit 1 --json databaseId --jq '.[0].databaseId')
2727
echo "previous_run_id=$PREVIOUS_RUN_ID" >> "$GITHUB_ENV"
28+
- name: Test previous run id
29+
run: echo "$previous_run_id"
2830
- name: Download test artifact
2931
uses: actions/download-artifact@v8
3032
with:
3133
skip-decompress: true
34+
github-token: ${{ secrets.GITHUB_TOKEN }}
3235
run-id: $previous_run_id
3336
- name: Display structure of downloaded files
3437
run: ls -R

0 commit comments

Comments
 (0)