Skip to content

Commit 7121b31

Browse files
authored
[CI][NFC] Rename ref to repo_ref (#17555)
Rename `ref` to `repo_ref` as it was done for linux: #17277
1 parent 3a3bbe1 commit 7121b31

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.github/workflows/sycl-nightly.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ jobs:
257257
runner: '["Windows", "build-e2e"]'
258258
cts_testing_mode: 'build-only'
259259
tests_selector: cts
260-
ref: ${{ github.sha }}
260+
repo_ref: ${{ github.sha }}
261261
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
262262
sycl_cts_artifact: sycl_cts_bin_win
263263

@@ -278,7 +278,7 @@ jobs:
278278
cts_testing_mode: 'run-only'
279279
target_devices: ${{ matrix.target_devices }}
280280
tests_selector: cts
281-
ref: ${{ github.sha }}
281+
repo_ref: ${{ github.sha }}
282282
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
283283
sycl_cts_artifact: sycl_cts_bin_win
284284

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
runner: '["Windows","gen12"]'
120120
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
121121
extra_lit_opts: --param gpu-intel-gen12=True
122-
ref: sycl-rel-6_0_0
122+
repo_ref: sycl-rel-6_0_0
123123
devops_ref: sycl
124124

125125
cuda-aws-start:

.github/workflows/sycl-windows-run-tests.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
name:
77
type: string
88
required: True
9+
910
runner:
1011
type: string
1112
required: True
@@ -27,19 +28,17 @@ on:
2728
Extra options to be added to LIT_OPTS.
2829
type: string
2930
default: ''
30-
ref:
31+
32+
repo_ref:
3133
type: string
3234
required: False
35+
description: |
36+
Commit SHA or branch to checkout the intel/llvm repo.
3337
devops_ref:
3438
type: string
3539
required: False
3640
description: |
37-
By default we checkout the devops directory from "inputs.ref" branch.
38-
devops_ref may be specified to checkout the devops dir from different
39-
branch.
40-
Note: it doesn't affect ./devops/actions/run-tests/* as these actions
41-
call checkout again and therefore override the devops directory, so
42-
configs/dependecies from input.ref are used.
41+
Commit SHA or branch to checkout the devops directory.
4342
tests_ref:
4443
type: string
4544
required: False
@@ -104,7 +103,7 @@ jobs:
104103
with:
105104
sparse-checkout: |
106105
devops/actions
107-
ref: ${{ inputs.devops_ref|| inputs.ref || github.sha }}
106+
ref: ${{ inputs.devops_ref|| inputs.repo_ref || github.sha }}
108107
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756
109108
with:
110109
arch: amd64
@@ -122,7 +121,7 @@ jobs:
122121
if: inputs.tests_selector == 'e2e'
123122
with:
124123
path: llvm
125-
ref: ${{ inputs.ref || github.sha }}
124+
ref: ${{ inputs.repo_ref || github.sha }}
126125
cache_path: "D:\\\\github\\\\_work\\\\repo_cache\\\\"
127126
- name: Download compiler toolchain
128127
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)