We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9195165 commit 8c774c0Copy full SHA for 8c774c0
.github/workflows/testing.yml
@@ -1,5 +1,7 @@
1
name: Build
2
on: [push, pull_request]
3
+env:
4
+ CACHE_NUMBER: 0 # increase to reset cache manually
5
jobs:
6
run-tests:
7
name: Run tests
@@ -17,6 +19,14 @@ jobs:
17
19
with:
18
20
auto-update-conda: true
21
python-version: ${{ matrix.python-version }}
22
+ - name: Set cache date
23
+ run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
24
+ - name: Conda download cache
25
+ id: myconda-download-cache
26
+ uses: actions/cache@v3
27
+ with:
28
+ path: /usr/share/miniconda/pkgs/
29
+ key: ${{ matrix.python-version }}-conda-${{ hashFiles('requirements*.txt') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
30
- name: Install imagemagick
31
run: |
32
sudo apt-get install -y imagemagick libstdc++6
0 commit comments