Skip to content

Commit 05091bb

Browse files
authored
fix(caching): leave tar as-is (#48)
* see actions/cache#1010
1 parent cdecaa6 commit 05091bb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

action.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ runs:
2929
if: runner.os == 'Windows' && contains(inputs.compiler, 'intel')
3030
shell: bash
3131
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"
3732
- name: Get date
3833
if: runner.os == 'Windows' && contains(inputs.compiler, 'intel')
3934
id: get-date
@@ -46,10 +41,6 @@ runs:
4641
with:
4742
path: ${{ env.ONEAPI_ROOT }}
4843
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'
5344

5445
# Set up the selected toolchain or compiler
5546
- name: Setup toolchain

0 commit comments

Comments
 (0)