File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 29
29
if : runner.os == 'Windows' && contains(inputs.compiler, 'intel')
30
30
shell : bash
31
31
run : echo "ONEAPI_ROOT=C:\Program Files (x86)\Intel\oneAPI" >> "$GITHUB_ENV"
32
- # GNU tar can't handle symlinks on Windows, hide it so default Windows tar is used to restore cache
33
- - name : Hide GNU tar
34
- if : runner.os == 'Windows' && contains(inputs.compiler, 'intel')
35
- shell : bash
36
- run : mv "C:\Program Files\Git\usr\bin\tar.exe" "$RUNNER_TEMP\tar.exe"
37
32
- name : Get date
38
33
if : runner.os == 'Windows' && contains(inputs.compiler, 'intel')
39
34
id : get-date
46
41
with :
47
42
path : ${{ env.ONEAPI_ROOT }}
48
43
key : ${{ runner.os }}-${{ inputs.compiler }}-${{ inputs.version }}-${{ steps.get-date.outputs.date }}
49
- - name : Restore GNU tar
50
- if : runner.os == 'Windows' && contains(inputs.compiler, 'intel')
51
- shell : bash
52
- run : mv "$RUNNER_TEMP\tar.exe" 'C:\Program Files\Git\usr\bin\tar.exe'
53
44
54
45
# Set up the selected toolchain or compiler
55
46
- name : Setup toolchain
You can’t perform that action at this time.
0 commit comments