File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 24
24
type : string
25
25
required : false
26
26
default : ${{ github.run_id }}-${{ github.run_attempt }}
27
+ ref :
28
+ description : " Commit to use for checkout or github.sha by default"
29
+ type : string
30
+ required : false
31
+ default : ${{ github.sha }}
27
32
outputs :
28
33
lts_matrix :
29
34
description : " Generated Matrix"
@@ -42,11 +47,11 @@ jobs:
42
47
- name : Download scripts and configs
43
48
shell : bash
44
49
run : |
45
- wget raw.githubusercontent.com/intel/llvm/${{ github.sha }}/devops/scripts/generate_test_matrix.js
46
- wget raw.githubusercontent.com/intel/llvm/${{ github.sha }}/devops/test_configs.json
50
+ wget raw.githubusercontent.com/intel/llvm/${{ inputs.ref }}/devops/scripts/generate_test_matrix.js
51
+ wget raw.githubusercontent.com/intel/llvm/${{ inputs.ref }}/devops/test_configs.json
47
52
wget raw.githubusercontent.com/intel/llvm/sycl/devops/dependencies.json
48
53
mv dependencies.json dependencies.sycl.json
49
- wget raw.githubusercontent.com/intel/llvm/${{ github.sha }}/devops/dependencies.json
54
+ wget raw.githubusercontent.com/intel/llvm/${{ inputs.ref }}/devops/dependencies.json
50
55
- id : work
51
56
uses : actions/github-script@v6
52
57
name : Generate matrix
Original file line number Diff line number Diff line change 42
42
name : Generate Test Matrix
43
43
uses : ./.github/workflows/sycl_gen_test_matrix.yml
44
44
with :
45
+ ref : ${{ github.event.pull_request.head.sha }}
45
46
lts_config : " hip_amdgpu;ocl_x64;ocl_gen9;l0_gen9;esimd_emu;cuda"
46
47
47
48
linux_default :
You can’t perform that action at this time.
0 commit comments