File tree 2 files changed +8
-13
lines changed
2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
9
9
steps :
10
- - uses : actions/checkout@v2
10
+ - uses : actions/checkout@v4
11
11
with :
12
12
fetch-depth : 0
13
13
14
14
- name : set dev version
15
15
working-directory : ./java
16
16
run : echo "DEV_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -Ev 'Download|INFO|WARNING')" >> $GITHUB_ENV
17
17
18
- - uses : actions/setup-python@v2
18
+ - uses : actions/setup-python@v5
19
19
with :
20
- python-version : ' 3.8 '
20
+ python-version : " 3.10 "
21
21
22
22
- name : install deps
23
23
working-directory : ./python
33
33
34
34
- name : mike deploy docs
35
35
run : mike deploy ${{ env.DEV_VERSION }} dev -u
36
-
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ name: mkdocs-release
2
2
3
3
on :
4
4
push :
5
- branches : [ branch-* ]
5
+ branches : [branch-*]
6
6
7
7
jobs :
8
8
publish-release :
9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v4
13
13
with :
14
14
fetch-depth : 0
15
15
@@ -20,16 +20,13 @@ jobs:
20
20
- name : set major/minor release version
21
21
run : echo "MAJOR_VERSION=$(echo $RELEASE_VERSION | sed 's/^\([0-9]*\.[0-9]*\).*$/\1/')" >> $GITHUB_ENV
22
22
23
- - uses : actions/setup-python@v2
23
+ - uses : actions/setup-python@v5
24
24
with :
25
- python-version : ' 3.8 '
25
+ python-version : " 3.10 "
26
26
27
27
- name : install deps
28
28
working-directory : ./python
29
- run : cp ../README.md . && pip3 install pip==22.0.3 && pip3 install -e .[dev,docs]
30
-
31
- - name : use dev mike
32
- run : pip3 uninstall -y mike && pip3 install git+'https://github.com/jimporter/mike.git'
29
+ run : cp ../README.md . && pip3 install -e .[dev,docs]
33
30
34
31
- name : generate autodoc
35
32
run : python3 auto_doc.py
43
40
run : |
44
41
mike deploy ${{ env.RELEASE_VERSION }} ${{ env.MAJOR_VERSION }} -u --push
45
42
mike alias ${{ env.RELEASE_VERSION }} latest -u --push
46
-
You can’t perform that action at this time.
0 commit comments