File tree 1 file changed +3
-17
lines changed
1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,11 @@ jobs:
51
51
id : cache
52
52
uses : actions/cache@v3
53
53
with :
54
- path : |
55
- c:\Miniconda\envs\anaconda-client-env
56
- /usr/share/miniconda/envs/anaconda-client-env
57
- ~/osx-conda
58
- ~/.profile
59
- key : ${{ runner.os }}-${{ matrix.python}}-conda-v16-${{ hashFiles('requirements/CI-tests-conda/requirements.txt')}}
54
+ path : ${{ env.CONDA }}/envs
55
+ key : ${{ runner.os }}-${{ runner.arch }}-${{ matrix.python}}-conda-v1-${{ hashFiles('requirements/CI-tests-conda/requirements.txt')}}
60
56
61
57
- name : Install Miniconda with Mamba
62
- uses : conda-incubator/setup-miniconda@v2
58
+ uses : conda-incubator/setup-miniconda@v3
63
59
if : steps.cache.outputs.cache-hit != 'true'
64
60
with :
65
61
activate-environment : anaconda-client-env
94
90
conda activate anaconda-client-env
95
91
pip install cyvcf2==0.30.18
96
92
97
- - name : Fix OSX Cache Write # OSX Won't let the cache restore due to file perms
98
- if : steps.cache.outputs.cache-hit != 'true' && matrix.os == 'macos-latest'
99
- run : |
100
- cp -r /usr/local/miniconda/envs/anaconda-client-env ~/osx-conda
101
-
102
- - name : Fix OSX Cache Restore
103
- if : steps.cache.outputs.cache-hit == 'true' && matrix.os == 'macos-latest'
104
- run : |
105
- mkdir -p /usr/local/miniconda/envs
106
- sudo cp -r ~/osx-conda /usr/local/miniconda/envs/anaconda-client-env
107
93
108
94
- name : Build module
109
95
run : |
You can’t perform that action at this time.
0 commit comments