File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,16 @@ jobs:
2525 # new commits since the last run - it checks if the latest commit is
2626 # older >24h. That means the previous run already tested this commit.
2727 run : |
28- if [ "$GITHUB_EVENT_NAME" = "schedule" ]; then
28+ # if [ "$GITHUB_EVENT_NAME" = "schedule" ]; then
2929 latest_commit_time=$(curl -s -H "Authorization: token $GH_TOKEN" https://api.github.com/repos/intel/llvm/commits/sycl-rel-6_2 | jq -r '.commit.committer.date')
3030 echo $latest_commit_time
3131 latest_commit_epoch=$(date -d "$latest_commit_time" +%s)
3232 now_epoch=$(date +%s)
3333 diff=$((now_epoch - latest_commit_epoch))
3434 if [ "$diff" -lt 86400 ]; then
35- gh workflow run sycl-rel-nightly.yml --repo "${GITHUB_REPOSITORY}" --ref sycl-rel-6_2
35+ # gh workflow run sycl-rel-nightly.yml --repo "${GITHUB_REPOSITORY}" --ref sycl-rel-6_2
36+ echo "it works yet"
3637 fi
37- else
38- gh workflow run sycl-rel-nightly.yml --repo "${GITHUB_REPOSITORY}" --ref sycl-rel-6_2
39- fi
38+ # else
39+ # gh workflow run sycl-rel-nightly.yml --repo "${GITHUB_REPOSITORY}" --ref sycl-rel-6_2
40+ # fi
You can’t perform that action at this time.
0 commit comments