Skip to content

Commit 7abb7b1

Browse files
committed
some updates
1 parent c1a5be8 commit 7abb7b1

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030

3131
- id: is_new_commit
3232
if: ${{ github.event_name == 'schedule' }}
33-
run: test -z $(git rev-list --after="24 hours" HEAD) && echo "is_new_commit=false" >> $GITHUB_OUTPUT
33+
run: |
34+
if [ -z "$(git rev-list --after="24 hours" HEAD)" ]; then
35+
echo "is_new_commit=false" >> $GITHUB_OUTPUT
36+
fi
3437
3538
ubuntu2204_build:
3639
needs: [check_for_new_commits]
@@ -126,7 +129,7 @@ jobs:
126129
# We upload both Linux/Windows build via Github's "Releases"
127130
# functionality, make sure Linux/Windows names follow the same pattern.
128131
artifact_archive_name: sycl_windows.tar.gz
129-
build_ref: ${{ env.SYCL_REL_BRANCH }}
132+
ref: ${{ env.SYCL_REL_BRANCH }}
130133

131134
e2e-win:
132135
needs: build-win
@@ -176,6 +179,7 @@ jobs:
176179
secrets: inherit
177180
with:
178181
mode: stop
182+
ref: ${{ env.SYCL_REL_BRANCH }}
179183

180184
# No binaries upload for now
181185
# nightly_build_upload:

.github/workflows/sycl-windows-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
build_ref:
1111
type: string
1212
required: false
13+
ref:
14+
type: string
15+
required: false
1316
changes:
1417
type: string
1518
description: 'Filter matches for the changed files in the PR'
@@ -73,7 +76,7 @@ jobs:
7376
- uses: actions/checkout@v4
7477
with:
7578
path: src
76-
ref: ${{ inputs.build_ref || github.sha }}
79+
ref: ${{ inputs.ref || github.sha }}
7780
fetch-depth: 1
7881
- name: Register cleanup after job is finished
7982
uses: ./src/devops/actions/cleanup

0 commit comments

Comments
 (0)