Skip to content

Commit

Permalink
Fix: Github actions caching
Browse files Browse the repository at this point in the history
  • Loading branch information
LKedward committed Jul 21, 2021
1 parent 9cfcf8f commit 8fa67d9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@ jobs:
uses: actions/checkout@v1

- name: Get Intel OpenCL SDK from cache
id: cache-intel
id: cache-intel-opencl
uses: actions/cache@v2
with:
path: |
/opt/intel/oneapi/compiler
/opt/intel/oneapi/setvars.sh
/tmp/opencl_runtime.tgz
key: intel-cache-v1
key: cache-intel-opencl-v1

- name: Download Intel OpenCL SDK
if: steps.cache-intel.outputs.cache-hit != 'true'
if: steps.cache-intel-opencl.outputs.cache-hit != 'true'
run: |
wget -q http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/16284/intel_sdk_for_opencl_applications_2020.0.270.tar.gz -O /tmp/opencl_runtime.tgz
Expand Down Expand Up @@ -70,7 +68,7 @@ jobs:
/opt/intel/oneapi/compiler
/opt/intel/oneapi/setvars.sh
/tmp/opencl_runtime.tgz
key: intel-cache-v1
key: intel-cache-v2

- name: Download Intel OpenCL SDK
if: steps.cache-intel.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 8fa67d9

Please sign in to comment.