File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,23 @@ jobs:
4444 steps :
4545
4646 - uses : actions/checkout@v3
47+ - name : Cache sample files
48+ id : cache_samples
49+ uses : actions/cache@v4
50+ with :
51+ path : " {{ github.workspace }}"
52+ key : ${{ hashFiles('sample_images.tar.gz') }}
53+ - name : download sample files
54+ if : steps.cache_samples.outputs.cache-hit != 'true'
55+ run : curl -L https://nexus.library.illinois.edu/repository/sample-data/images/sample_images.tar.gz -o "{{ github.workspace }}/sample_images.tar.gz"
4756 - uses : actions/setup-python@v5
4857 with :
4958 python-version : ${{ matrix.python-version }}
5059 cache : ' pip' # caching pip dependencies
5160 - name : " install Python dependencies"
5261 run : |
5362 pip install uv
54- - uses : actions/cache@v3
63+ - uses : actions/cache@v4
5564 id : cache
5665 with :
5766 path : " ${{ matrix.conan_user_home }}/.conan2"
8695 env :
8796 CONAN_COMPILER_LIBCXX : ${{ matrix.compiler_libcxx }}
8897 CONAN_USER_HOME : ${{ matrix.conan_user_home }}
89-
98+ SAMPLE_IMAGES_ARCHIVE : " {{ github.workspace }}/sample_images.tar.gz "
You can’t perform that action at this time.
0 commit comments