1717 DOC_BUILD_SYC_VERSION : 25_2
1818 FLUENT_IMAGE_VERSION : " v25.2.0"
1919 SYC_IMAGE_VERSION : " v25.2.0"
20- MAPDL_IMAGE_VERSION : " v25.1 -ubuntu-cicd" # TODO: update to 25.2
20+ MAPDL_IMAGE_VERSION : " v25.2 -ubuntu-cicd"
2121
2222permissions : {} # Zero permissions can be granted at the workflow level if not all jobs require permissions.
2323 # As a good rule of thumb, this normally includes jobs that don't use secrets.
3232 name : " Check actions security"
3333 runs-on : ubuntu-latest
3434 steps :
35- - uses : ansys/actions/check-actions-security@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
35+ - uses : ansys/actions/check-actions-security@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
3636 with :
3737 generate-summary : true
3838 token : ${{ secrets.GITHUB_TOKEN }}
4444 runs-on : ubuntu-latest
4545 steps :
4646 - name : " PySystemCoupling documentation style checks"
47- uses : ansys/actions/doc-style@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
47+ uses : ansys/actions/doc-style@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
4848 with :
4949 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
5050 vale-version : " 3.4.1"
5454 runs-on : ubuntu-latest
5555 steps :
5656 - name : PyAnsys code style checks
57- uses : ansys/actions/code-style@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
57+ uses : ansys/actions/code-style@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
5858 with :
5959 python-version : ${{ env.MAIN_PYTHON_VERSION }}
6060
7070
7171 steps :
7272 - name : " Build wheelhouse and perform smoke test"
73- uses : ansys/actions/build-wheelhouse@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
73+ uses : ansys/actions/build-wheelhouse@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
7474 with :
7575 library-name : ${{ env.PACKAGE_NAME }}
7676 operating-system : ${{ matrix.os }}
8181 name : " Check library vulnerabilities"
8282 runs-on : ubuntu-latest
8383 steps :
84- - uses : ansys/actions/check-vulnerabilities@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
84+ - uses : ansys/actions/check-vulnerabilities@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
8585 with :
8686 python-version : ${{ env.MAIN_PYTHON_VERSION }}
8787 token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
9797 runs-on : ubuntu-latest
9898
9999 steps :
100- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
100+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
101101 with :
102102 persist-credentials : false
103103
@@ -172,7 +172,7 @@ jobs:
172172 runs-on : ubuntu-latest
173173
174174 steps :
175- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
175+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
176176 with :
177177 persist-credentials : false
178178 - name : Setup Python
@@ -181,7 +181,7 @@ jobs:
181181 python-version : ${{ env.MAIN_PYTHON_VERSION }}
182182
183183 - name : Download package
184- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
184+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
185185 with :
186186 name : ${{ env.PACKAGE_NAME }}-artifacts
187187 path : dist
@@ -255,7 +255,7 @@ jobs:
255255 packages : read
256256
257257 steps :
258- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
258+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
259259 with :
260260 persist-credentials : false
261261 - name : Setup Python
@@ -264,7 +264,7 @@ jobs:
264264 python-version : ${{ env.MAIN_PYTHON_VERSION }}
265265
266266 - name : Download package
267- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
267+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
268268 with :
269269 name : ${{ env.PACKAGE_NAME }}-artifacts
270270 path : dist
@@ -349,7 +349,7 @@ jobs:
349349 contents : write
350350 steps :
351351 - name : Deploy the latest documentation
352- uses : ansys/actions/doc-deploy-dev@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
352+ uses : ansys/actions/doc-deploy-dev@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
353353 with :
354354 cname : ${{ env.DOCUMENTATION_CNAME }}
355355 token : ${{ secrets.GITHUB_TOKEN }}
@@ -362,15 +362,18 @@ jobs:
362362 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
363363 needs : [test, docs]
364364 runs-on : ubuntu-latest
365+ environment : release
366+ permissions :
367+ id-token : write
368+ contents : write
365369 steps :
366370
367371 - name : " Download the library artifacts from build-library step"
368- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
372+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
369373 with :
370374 name : ${{ env.PACKAGE_NAME }}-artifacts
371375 path : ${{ env.PACKAGE_NAME }}-artifacts
372376
373-
374377 - name : Display structure of downloaded files
375378 run : ls -R
376379
@@ -379,11 +382,11 @@ jobs:
379382 with :
380383 repository-url : " https://upload.pypi.org/legacy/"
381384 print-hash : true
382- packages-dir : ${{ env.PACKAGE_NAMEt }}-artifacts
385+ packages-dir : ${{ env.PACKAGE_NAME }}-artifacts
383386 skip-existing : false
384387
385388 - name : " Release to GitHub"
386- uses : softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
389+ uses : softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
387390 with :
388391 files : |
389392 ./**/*.whl
@@ -397,7 +400,7 @@ jobs:
397400 needs : [release]
398401 steps :
399402 - name : Deploy the stable documentation
400- uses : ansys/actions/doc-deploy-stable@c2fa7c93f6883114e0e643599431b33d29f0b13f # v10.1.4
403+ uses : ansys/actions/doc-deploy-stable@21c9de9bee9692173780696d4a39964f20b9cfa3 # v10.1.5
401404 with :
402405 cname : ${{ env.DOCUMENTATION_CNAME }}
403406 token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments