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 78
78
# Increase this value to reset cache if conda-dev-spec.template has not changed in the workflow
79
79
CACHE_NUMBER : 0
80
80
with :
81
- path : ~/conda_pkgs_dir
81
+ path : ~/conda_pkgs_dir_py${{ matrix.python-version }}
82
82
key :
83
83
${{ runner.os }}-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{
84
84
hashFiles('configure_polaris_envs.py,deploy/*') }}
Original file line number Diff line number Diff line change 7
7
release :
8
8
types : [published]
9
9
10
+ env :
11
+ PYTHON_VERSION : " 3.10"
12
+
10
13
jobs :
11
14
publish-docs :
12
15
runs-on : ubuntu-latest
39
42
channels : conda-forge,e3sm/label/polaris
40
43
channel-priority : strict
41
44
auto-update-conda : true
42
- python-version : ${{ matrix.python-version }}
45
+ python-version : ${{ env.PYTHON_VERSION }}
43
46
44
47
- if : ${{ steps.skip_check.outputs.should_skip != 'true' }}
45
48
name : Install polaris
49
52
--conda_env_only \
50
53
--env_name polaris_test \
51
54
--verbose \
52
- --python=${{ matrix.python-version }}
55
+ --python=${{ env.PYTHON_VERSION }}
53
56
source load_polaris_test.sh
54
57
55
58
- name : Build Sphinx Docs
Original file line number Diff line number Diff line change 12
12
13
13
env :
14
14
UP_TO_DATE : false
15
+ PYTHON_VERSION : " 3.10"
15
16
16
17
jobs :
17
18
auto-update :
22
23
- name : Set up Python
23
24
uses : actions/setup-python@v5
24
25
with :
25
- python-version : " 3.10 "
26
+ python-version : ${{ env.PYTHON_VERSION }}
26
27
27
28
- name : Install pre-commit
28
29
run : pip install pre-commit
You can’t perform that action at this time.
0 commit comments