File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -28,37 +28,27 @@ jobs:
28
28
29
29
- uses : actions/checkout@v3
30
30
31
- - uses : actions/setup-python@v4
32
- with :
33
- python-version : " 3.10"
34
-
35
31
- name : Install apt deps
36
32
if : env.APTGET
37
33
run : sudo apt-get install -y ${{env.APTGET}}
38
34
39
- - uses : actions/cache@v3
40
- id : venv-cache
35
+ - uses : actions/setup-python@v4
41
36
with :
42
- path : venv
43
- key : docs-venv-v4-${{ hashFiles(env.REQUIREMENTS) }}
37
+ python-version : " 3.10 "
38
+ cache : ' pip '
44
39
45
- - name : Create venv and install deps (one by one to avoid conflict errors)
46
- if : steps.venv-cache.outputs.cache-hit != 'true'
40
+ - name : Create venv and install deps
47
41
run : |
48
- python -m venv venv
49
- . venv/bin/activate
50
42
pip install --upgrade pip wheel
51
43
pip install -r ${{env.REQUIREMENTS}}
52
44
53
45
- name : Build C module
54
46
if : env.MAKE_TARGET
55
47
run : |
56
- . venv/bin/activate
57
48
make $MAKE_TARGET
58
49
59
50
- name : Build Docs
60
51
run : |
61
- . venv/bin/activate
62
52
make -C docs
63
53
64
54
- name : Trigger docs site rebuild
You can’t perform that action at this time.
0 commit comments