2424 runs-on : ubuntu-latest
2525 steps :
2626 - name : PyAnsys code style checks
27- uses : ansys/actions/code-style@v4
27+ uses : ansys/actions/code-style@v5
2828 with :
2929 python-version : ${{ env.MAIN_PYTHON_VERSION }}
3030
3333 runs-on : ubuntu-latest
3434 steps :
3535 - name : PyAnsys documentation style checks
36- uses : ansys/actions/doc-style@v4
36+ uses : ansys/actions/doc-style@v5
3737 with :
3838 token : ${{ secrets.GITHUB_TOKEN }}
3939
5353 os : macos-latest
5454 steps :
5555 - name : Build wheelhouse and perform smoke test
56- uses : ansys/actions/build-wheelhouse@v4
56+ uses : ansys/actions/build-wheelhouse@v5
5757 with :
5858 library-name : ${{ env.PACKAGE_NAME }}
5959 library-namespace : ${{ env.PACKAGE_NAMESPACE }}
7272 - uses : actions/checkout@v4
7373
7474 - name : Set up Python
75- uses : actions/setup-python@v4
75+ uses : actions/setup-python@v5
7676 with :
7777 python-version : ${{ matrix.python-version }}
7878
9494 pytest -v --cov=ansys.sherlock --cov-report=term --cov-report=html:.cov/html --cov-report=xml:.cov/coverage.xml
9595
9696 - name : Upload coverage results
97- uses : actions/upload-artifact@v3
97+ uses : actions/upload-artifact@v4
9898 if : env.MAIN_PYTHON_VERSION == matrix.python-version
9999 with :
100100 name : coverage-results
@@ -103,15 +103,19 @@ jobs:
103103
104104 - name : Upload coverage to Codecov
105105 if : env.MAIN_PYTHON_VERSION == matrix.python-version
106- uses : codecov/codecov-action@v3
106+ uses : codecov/codecov-action@v4
107+ env :
108+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
109+ with :
110+ files : .cov/coverage.xml
107111
108112 docs :
109113 name : Documentation
110114 needs : [ docs-style ]
111115 runs-on : ubuntu-latest
112116 steps :
113117 - name : Run documentation building action
114- uses : ansys/actions/doc-build@v4
118+ uses : ansys/actions/doc-build@v5
115119 with :
116120 python-version : ${{ env.MAIN_PYTHON_VERSION }}
117121
@@ -121,7 +125,7 @@ jobs:
121125 runs-on : ubuntu-latest
122126 steps :
123127 - name : Build library source and wheel artifacts
124- uses : ansys/actions/build-library@v4
128+ uses : ansys/actions/build-library@v5
125129 with :
126130 library-name : ${{ env.PACKAGE_NAME }}
127131 python-version : ${{ env.MAIN_PYTHON_VERSION }}
@@ -133,14 +137,14 @@ jobs:
133137 runs-on : ubuntu-latest
134138 steps :
135139 - name : Release to the public PyPI repository
136- uses : ansys/actions/release-pypi-public@v4
140+ uses : ansys/actions/release-pypi-public@v5
137141 with :
138142 library-name : ${{ env.PACKAGE_NAME }}
139143 twine-username : " __token__"
140144 twine-token : ${{ secrets.PYPI_TOKEN }}
141145
142146 - name : Release to GitHub
143- uses : ansys/actions/release-github@v4
147+ uses : ansys/actions/release-github@v5
144148 with :
145149 library-name : ${{ env.PACKAGE_NAME }}
146150
@@ -151,7 +155,7 @@ jobs:
151155 needs : [ package ]
152156 steps :
153157 - name : Deploy the latest documentation
154- uses : ansys/actions/doc-deploy-dev@v4
158+ uses : ansys/actions/doc-deploy-dev@v5
155159 with :
156160 cname : ${{ env.DOCUMENTATION_CNAME }}
157161 token : ${{ secrets.GITHUB_TOKEN }}
@@ -163,7 +167,7 @@ jobs:
163167 needs : [ release ]
164168 steps :
165169 - name : Deploy the stable documentation
166- uses : ansys/actions/doc-deploy-stable@v4
170+ uses : ansys/actions/doc-deploy-stable@v5
167171 with :
168172 cname : ${{ env.DOCUMENTATION_CNAME }}
169173 token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments