Skip to content

Commit e5bb752

Browse files
authored
Fix docs build by updating actions and Python (#241)
- **Update Python version in docs build to 3.12** - **Update all actions versions in docs build**
1 parent 775f994 commit e5bb752

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/build-docs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
platform: [ubuntu-latest]
21-
python: ["3.10"]
21+
python: ["3.12"]
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- uses: tlambert03/setup-qt-libs@v1
2626

2727
- name: Set up Python ${{ matrix.python }}
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: ${{ matrix.python }}
3131

3232
- name: Install dependencies
3333
run: |
3434
python -m pip install --upgrade pip
35-
python -m pip install 'setuptools<50.0'
35+
python -m pip install setuptools
3636
python -m pip install .[all,testing,docs]
3737
3838
- name: Get data
@@ -43,18 +43,18 @@ jobs:
4343
fi
4444
4545
- name: Build docs
46-
uses: aganders3/headless-gui@v1
46+
uses: aganders3/headless-gui@v2
4747
with:
4848
run: make -C doc html
4949

5050
- name: Upload artifact
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
5252
with:
5353
name: docs
5454
path: doc/_build/html
5555

5656
- name: Cache
57-
uses: actions/cache@v3
57+
uses: actions/cache@v4
5858
with:
5959
path: |
6060
doc/examples/schizonts

.github/workflows/deploy-docs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
platform: [ubuntu-latest]
21-
python: ["3.10"]
21+
python: ["3.12"]
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: Get TAG
2626
run: echo "TAG=${{ github.ref_name }}" >> $GITHUB_ENV
@@ -34,14 +34,14 @@ jobs:
3434
uses: tlambert03/setup-qt-libs@v1
3535

3636
- name: Set up Python ${{ matrix.python }}
37-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3838
with:
3939
python-version: ${{ matrix.python }}
4040

4141
- name: Install dependencies
4242
run: |
4343
python -m pip install --upgrade pip
44-
python -m pip install 'setuptools<50.0'
44+
python -m pip install setuptools
4545
python -m pip install .[all,testing,docs]
4646
4747
- name: Get data
@@ -52,20 +52,20 @@ jobs:
5252
fi
5353
5454
- name: Build docs
55-
uses: aganders3/headless-gui@v1
55+
uses: aganders3/headless-gui@v2
5656
with:
5757
run: make -C doc html
5858

5959
- name: Deploy dev docs 🚀
60-
uses: JamesIves/github-pages-deploy-action@4.1.5
60+
uses: JamesIves/github-pages-deploy-action@4.7.3
6161
with:
6262
branch: gh-pages
6363
folder: doc/_build/html
6464
target-folder: dev
6565
clean: true
6666

6767
- name: Deploy stable docs 🚀
68-
uses: JamesIves/github-pages-deploy-action@4.1.5
68+
uses: JamesIves/github-pages-deploy-action@4.7.3
6969
if: startsWith(env.TAG, 'v')
7070
with:
7171
branch: gh-pages
@@ -74,7 +74,7 @@ jobs:
7474
clean: true
7575

7676
- name: Cache
77-
uses: actions/cache@v3
77+
uses: actions/cache@v4
7878
with:
7979
path: |
8080
doc/examples/schizonts

0 commit comments

Comments
 (0)