3737 runs-on : ubuntu-latest
3838 steps :
3939 - name : PyAnsys documentation style checks
40- uses : ansys/actions/doc-style@v4
40+ uses : ansys/actions/doc-style@v5
4141 with :
4242 token : ${{ secrets.GITHUB_TOKEN }}
4343
@@ -48,13 +48,13 @@ jobs:
4848 fail-fast : false
4949 matrix :
5050 os : [windows-latest, ubuntu-latest]
51- python-version : ['3.8 ', '3.9 ', '3.10 ', '3.11 ']
51+ python-version : ['3.9 ', '3.10 ', '3.11 ', '3.12 ']
5252
5353 steps :
5454 - uses : actions/checkout@v4
5555
5656 - name : Set up Python ${{ matrix.python-version }}
57- uses : actions/setup-python@v4
57+ uses : actions/setup-python@v5
5858 with :
5959 python-version : ${{ matrix.python-version }}
6060 cache : ' pip'
@@ -75,14 +75,14 @@ jobs:
7575 fail-fast : false
7676 matrix :
7777 os : [windows-latest, ubuntu-latest]
78- python-version : ['3.8 ', '3.9 ', '3.10 ', '3.11 ']
78+ python-version : ['3.9 ', '3.10 ', '3.11 ', '3.12 ']
7979 extras-version : ['fluent-all', 'mapdl-all', 'tools']
8080
8181 steps :
8282 - uses : actions/checkout@v4
8383
8484 - name : Set up Python ${{ matrix.python-version }}
85- uses : actions/setup-python@v4
85+ uses : actions/setup-python@v5
8686 with :
8787 python-version : ${{ matrix.python-version }}
8888 cache : ' pip'
@@ -103,11 +103,11 @@ jobs:
103103 fail-fast : false
104104 matrix :
105105 os : [windows-latest, ubuntu-latest, macos-latest]
106- python-version : ['3.8 ', '3.9 ', '3.10 ', '3.11 ']
106+ python-version : ['3.9 ', '3.10 ', '3.11 ', '3.12 ']
107107
108108 steps :
109109 - name : Build wheelhouse and perform smoke test
110- uses : ansys/actions/build-wheelhouse@v4
110+ uses : ansys/actions/build-wheelhouse@v5
111111 with :
112112 library-name : ${{ env.PACKAGE_NAME }}
113113 operating-system : ${{ runner.os }}
@@ -120,7 +120,7 @@ jobs:
120120 cat all-deps-${{ runner.os }}-${{ matrix.python-version }}.txt
121121
122122 - name : Upload dependencies list
123- uses : actions/upload-artifact@v3
123+ uses : actions/upload-artifact@v4
124124 with :
125125 name : all-deps-${{ runner.os }}-${{ matrix.python-version }}
126126 path : all-deps-${{ runner.os }}-${{ matrix.python-version }}.txt
@@ -133,24 +133,39 @@ jobs:
133133
134134 steps :
135135 - name : Build documentation
136- uses : ansys/actions/doc-build@v4
136+ uses : ansys/actions/doc-build@v5
137137 with :
138138 python-version : ${{ env.MAIN_PYTHON_VERSION }}
139139 dependencies : " build-essential zip pandoc texlive-latex-extra latexmk texlive-pstricks"
140140
141- - name : Deploy the dev documentation
142- uses : ansys/actions/doc-deploy-dev@v4
143- if : github.ref == 'refs/heads/main'
144- with :
145- cname : ${{ env.DOCUMENTATION_CNAME }}
146- token : ${{ secrets.GITHUB_TOKEN }}
147-
141+ doc-deploy-dev :
142+ name : " Deploy development docs"
143+ if : github.ref == 'refs/heads/main'
144+ runs-on : ubuntu-latest
145+ needs : [package]
146+ steps :
147+ - name : Deploy the latest documentation
148+ uses : ansys/actions/doc-deploy-dev@v5
149+ with :
150+ cname : ${{ env.DOCUMENTATION_CNAME }}
151+ token : ${{ secrets.GITHUB_TOKEN }}
152+
153+ adapt-landing-page-dev :
154+ uses : ./.github/workflows/update-gh-pages.yml
155+ needs : [doc-deploy-dev]
156+ secrets : inherit
157+
158+ doc-index-dev :
159+ name : " Deploy dev docs index"
160+ if : github.ref == 'refs/heads/main'
161+ runs-on : ubuntu-latest
162+ needs : [doc-deploy-dev]
163+ steps :
148164 - name : " Deploy the dev documentation index"
149- uses : ansys/actions/doc-deploy-index@v4
150- if : github.ref == 'refs/heads/main'
165+ uses : ansys/actions/doc-deploy-index@v5
151166 with :
152167 cname : ${{ env.DOCUMENTATION_CNAME }}/version/dev
153- index-name : " pyansys-vdev"
168+ index-name : pyansys-vdev
154169 host-url : ${{ vars.MEILISEARCH_HOST_URL }}
155170 api-key : ${{ env.MEILISEARCH_API_KEY }}
156171
@@ -160,7 +175,7 @@ jobs:
160175 needs : [docs-build, smoke-tests-core]
161176 steps :
162177 - name : Build library source and wheel artifacts
163- uses : ansys/actions/build-library@v4
178+ uses : ansys/actions/build-library@v5
164179 with :
165180 library-name : ${{ env.PACKAGE_NAME }}
166181 python-version : ${{ env.MAIN_PYTHON_VERSION }}
@@ -172,29 +187,34 @@ jobs:
172187 runs-on : ubuntu-latest
173188 steps :
174189 - name : Release to PyPI repository
175- uses : ansys/actions/release-pypi-public@v4
190+ uses : ansys/actions/release-pypi-public@v5
176191 with :
177192 library-name : ${{ env.PACKAGE_NAME }}
178193 twine-username : __token__
179194 twine-token : ${{ secrets.PYPI_TOKEN }}
180195
181196 - name : Release to GitHub
182- uses : ansys/actions/release-github@v4
197+ uses : ansys/actions/release-github@v5
183198 with :
184199 library-name : ${{ env.PACKAGE_NAME }}
185- additional-artifacts : ' all-deps-Linux-3.8 all-deps-Linux-3.9 all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Windows-3.8 all-deps-Windows-3.9 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-macOS-3.8 all-deps-macOS-3.9 all-deps-macOS-3.10 all-deps-macOS-3.11 '
200+ additional-artifacts : ' all-deps-Linux-3.9 all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Linux-3.12 all-deps-Windows-3.9 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-Windows-3.12 all-deps-macOS-3.9 all-deps-macOS-3.10 all-deps-macOS-3.11 all-deps-macOS-3.12 '
186201
187202 docs-release :
188203 name : Deploy release docs
189204 runs-on : ubuntu-latest
190205 needs : [release]
191206 steps :
192207 - name : Deploy the latest release documentation
193- uses : ansys/actions/doc-deploy-stable@v4
208+ uses : ansys/actions/doc-deploy-stable@v5
194209 with :
195210 cname : ${{ env.DOCUMENTATION_CNAME }}
196211 token : ${{ secrets.GITHUB_TOKEN }}
197212
213+ adapt-landing-page-release :
214+ uses : ./.github/workflows/update-gh-pages.yml
215+ needs : [docs-release]
216+ secrets : inherit
217+
198218 doc-index-release :
199219 name : " Deploy release docs index"
200220 runs-on : ubuntu-latest
@@ -218,7 +238,7 @@ jobs:
218238 echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV
219239
220240 - name : " Deploy the latest documentation index"
221- uses : ansys/actions/doc-deploy-index@v4
241+ uses : ansys/actions/doc-deploy-index@v5
222242 with :
223243 cname : ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}
224244 index-name : pyansys-v${{ env.VERSION_MEILI }}
0 commit comments