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 :
16- image : python:3.8-buster
16+ image : python:3.12-bullseye
1717 steps :
1818 - name : Checkout code
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2020
2121 - name : Set up Python
2222 uses : actions/setup-python@v4
2323 with :
24- python-version : 3.8
24+ python-version : 3.12
2525
2626 - name : Install dependencies
2727 run : pip install -r requirements.txt
@@ -30,25 +30,24 @@ jobs:
3030 run : mkdocs build --strict --verbose --site-dir test
3131
3232 - name : Upload test artifacts
33- if : always()
34- uses : actions/upload-artifact@v3
33+ uses : actions/upload-artifact@v4
3534 with :
3635 name : test
3736 path : test
3837
3938 deploy :
40- if : github.ref == 'refs/heads/master '
39+ if : github.ref == 'refs/heads/main '
4140 runs-on : ubuntu-latest
4241 container :
43- image : python:3.8-buster
42+ image : python:3.12-bullseye
4443 steps :
4544 - name : Checkout code
46- uses : actions/checkout@v3
45+ uses : actions/checkout@v4
4746
4847 - name : Set up Python
4948 uses : actions/setup-python@v4
5049 with :
51- python-version : 3.8
50+ python-version : 3.12
5251
5352 - name : Install dependencies
5453 run : pip install -r requirements.txt
5756 run : mkdocs build --strict --verbose
5857
5958 - name : Upload deployment artifacts
60- uses : actions/upload-artifact@v3
59+ uses : actions/upload-artifact@v4
6160 with :
6261 name : public
6362 path : public
0 commit comments