Skip to content

Commit d1a3e8c

Browse files
[CI] Update looking for nigthly sycl build
look only for the actual nigthly releases. The "regular release" may be incompatible, as they may be in regard to older codebase.
1 parent a961394 commit d1a3e8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/reusable_sycl.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ jobs:
2828
- name: Download llvm daily release
2929
run: |
3030
if [ "${{ matrix.llvm_tag }}" == "latest" ]; then
31-
llvm_tag=$(curl -s https://api.github.com/repos/intel/llvm/releases | awk -F'"' '/"tag_name":/ {print $4; exit}')
31+
llvm_tag=$(curl -s https://api.github.com/repos/intel/llvm/releases | awk -F'"' '/"tag_name": "nightly/ {print $4; exit}')
3232
else
3333
llvm_tag="${{ matrix.llvm_tag }}"
3434
fi
35+
echo "llvm tag: $llvm_tag"
3536
download_url="https://github.com/intel/llvm/releases/download/${llvm_tag}/sycl_linux.tar.gz"
3637
wget --no-verbose $download_url -O sycl_linux.tar.gz
3738

0 commit comments

Comments
 (0)