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

Commit 230e34a

Browse files
authored
Update import_packages.yml
1 parent 9a38eca commit 230e34a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/import_packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
env:
3131
GITHUB_TOKEN: ${{ github.token }}
3232
run: |
33-
workflow_id=".github/workflows/import_packages.yml"
34-
run_id=$(gh api --paginate repos/${{ github.repository }}/actions/runs --jq ".workflow_runs[] | select(.workflow_path == \"$workflow_id\" and .conclusion == \"success\") | .id" | head -n 1)
33+
workflow_path=".github/workflows/import_packages.yml"
34+
run_id=$(gh api --paginate repos/${{ github.repository }}/actions/runs --jq ".workflow_runs[] | select(.path == \"$workflow_path\" and .conclusion == \"success\") | .workflow_id" | head -n 1)
3535
echo "::set-output name=run_id::$run_id"
3636
# Check for artifacts and set a flag
3737
if [[ "$run_id" != "" ]]; then

0 commit comments

Comments
 (0)