Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Oct 31, 2024
1 parent f1f5bb1 commit 40862d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
run: |
OTHER_REPO="oneapi-src/oneDAL"
WF_NAME="Nightly-build"
gh run --repo ${OTHER_REPO} list --workflow "${WF_NAME}" --json databaseId --status success --jq '.[]'
gh run --repo ${OTHER_REPO} list --workflow "${WF_NAME}" --json databaseId,event --status success --jq '.[]'
RUN_ID=`gh run --repo ${OTHER_REPO} list --workflow "${WF_NAME}" --json databaseId --status success --jq '.[] | select(.event == "workflow_dispatch" or .event == "schedule") | .[0].databaseId'`
echo "Detected latest run id of ${RUN_ID} for workflow ${WF_NAME}"
echo "run-id=${RUN_ID}" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 40862d7

Please sign in to comment.