File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111jobs :
1212 test :
13- if : github.ref != 'refs/heads/master '
13+ if : github.ref != 'refs/heads/main '
1414 runs-on : ubuntu-latest
1515 container :
1616 image : python:3.8-buster
1717 steps :
1818 - name : Checkout code
19- uses : actions/checkout@v3
20-
21- - name : Set up Python
22- uses : actions/setup-python@v4
23- with :
24- python-version : 3.8
19+ uses : actions/checkout@v4
2520
2621 - name : Install dependencies
2722 run : pip install -r requirements.txt
@@ -30,25 +25,19 @@ jobs:
3025 run : mkdocs build --strict --verbose --site-dir test
3126
3227 - name : Upload test artifacts
33- if : always()
34- uses : actions/upload-artifact@v3
28+ uses : actions/upload-artifact@v4
3529 with :
3630 name : test
3731 path : test
3832
3933 deploy :
40- if : github.ref == 'refs/heads/master '
34+ if : github.ref == 'refs/heads/main '
4135 runs-on : ubuntu-latest
4236 container :
4337 image : python:3.8-buster
4438 steps :
4539 - name : Checkout code
46- uses : actions/checkout@v3
47-
48- - name : Set up Python
49- uses : actions/setup-python@v4
50- with :
51- python-version : 3.8
40+ uses : actions/checkout@v4
5241
5342 - name : Install dependencies
5443 run : pip install -r requirements.txt
5746 run : mkdocs build --strict --verbose
5847
5948 - name : Upload deployment artifacts
60- uses : actions/upload-artifact@v3
49+ uses : actions/upload-artifact@v4
6150 with :
6251 name : public
6352 path : public
You can’t perform that action at this time.
0 commit comments