Skip to content

Commit b3bb2b7

Browse files
committed
disable
1 parent 6423267 commit b3bb2b7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/sycl-rel-nightly-launch.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)