File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 7878 # Increase this value to reset cache if conda-dev-spec.template has not changed in the workflow
7979 CACHE_NUMBER : 0
8080 with :
81- path : ~/conda_pkgs_dir
81+ path : ~/conda_pkgs_dir_py${{ matrix.python-version }}
8282 key :
8383 ${{ runner.os }}-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{
8484 hashFiles('configure_polaris_envs.py,deploy/*') }}
Original file line number Diff line number Diff line change 77 release :
88 types : [published]
99
10+ env :
11+ PYTHON_VERSION : " 3.10"
12+
1013jobs :
1114 publish-docs :
1215 runs-on : ubuntu-latest
3942 channels : conda-forge,e3sm/label/polaris
4043 channel-priority : strict
4144 auto-update-conda : true
42- python-version : ${{ matrix.python-version }}
45+ python-version : ${{ env.PYTHON_VERSION }}
4346
4447 - if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
4548 name : Install polaris
4952 --conda_env_only \
5053 --env_name polaris_test \
5154 --verbose \
52- --python=${{ matrix.python-version }}
55+ --python=${{ env.PYTHON_VERSION }}
5356 source load_polaris_test.sh
5457
5558 - name : Build Sphinx Docs
Original file line number Diff line number Diff line change 1212
1313env :
1414 UP_TO_DATE : false
15+ PYTHON_VERSION : " 3.10"
1516
1617jobs :
1718 auto-update :
2223 - name : Set up Python
2324 uses : actions/setup-python@v5
2425 with :
25- python-version : " 3.10 "
26+ python-version : ${{ env.PYTHON_VERSION }}
2627
2728 - name : Install pre-commit
2829 run : pip install pre-commit
You can’t perform that action at this time.
0 commit comments