File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ jobs:
127127 activate-environment : ${{steps.setup.outputs.env-name}}
128128 channel-priority : strict
129129 miniforge-version : latest
130+ python-version : ${{ matrix.python-version }}
130131 - name : Get Date
131132 id : get-date
132133 run : |
@@ -145,8 +146,13 @@ jobs:
145146 CACHE_NUMBER : 0
146147 id : cache-env
147148 - name : Install env
148- run : conda env update --name=${{steps.setup.outputs.env-name}} --file=${{steps.setup.outputs.env-file}} python=${{matrix.python-version}} numpy=${{matrix.numpy-version}}
149149 if : steps.cache-env.outputs.cache-hit != 'true'
150+ run : |
151+ conda env update --name=${{steps.setup.outputs.env-name}} --file=${{steps.setup.outputs.env-file}}
152+ - name : Ensure Python/numpy version
153+ # if: steps.cache-env.outputs.cache-hit != 'true' # TODO: skip this step on cache hits once the caches are all updated
154+ run : |
155+ conda install python=${{matrix.python-version}} numpy=${{matrix.numpy-version}}
150156 - name : Install uncached pip dependencies
151157 run : |
152158 pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments