diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 83c9be74e..8f27c5f8c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -104,7 +104,7 @@ jobs: runs-on: ubuntu-latest steps: - name: PyAnsys code style checks - uses: ansys/actions/code-style@v4 + uses: ansys/actions/code-style@v5 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -113,7 +113,7 @@ jobs: runs-on: ubuntu-latest steps: - name: PyAnsys documentation style checks - uses: ansys/actions/doc-style@v4 + uses: ansys/actions/doc-style@v5 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -133,7 +133,7 @@ jobs: os: macos-latest steps: - name: Build wheelhouse and perform smoke test - uses: ansys/actions/build-wheelhouse@v4 + uses: ansys/actions/build-wheelhouse@v5 with: library-name: ${{ env.PACKAGE_NAME }} operating-system: ${{ matrix.os }} @@ -213,7 +213,7 @@ jobs: grep -q 'WB Initialize Done' <(timeout 60 tail -f log.txt) - name: Testing - uses: ansys/actions/tests-pytest@v4 + uses: ansys/actions/tests-pytest@v5 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -576,7 +576,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build library source and wheel artifacts - uses: ansys/actions/build-library@v4 + uses: ansys/actions/build-library@v5 with: library-name: ${{ env.PACKAGE_NAME }} python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -588,14 +588,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Release to the public PyPI repository - uses: ansys/actions/release-pypi-public@v4 + uses: ansys/actions/release-pypi-public@v5 with: library-name: ${{ env.PACKAGE_NAME }} twine-username: "__token__" twine-token: ${{ secrets.PYPI_TOKEN }} - name: Release to GitHub - uses: ansys/actions/release-github@v4 + uses: ansys/actions/release-github@v5 with: library-name: ${{ env.PACKAGE_NAME }} @@ -606,7 +606,7 @@ jobs: needs: [package] steps: - name: Deploy the latest documentation - uses: ansys/actions/doc-deploy-dev@v4 + uses: ansys/actions/doc-deploy-dev@v5 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -618,7 +618,7 @@ jobs: needs: upload_dev_docs steps: - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v4 + uses: ansys/actions/doc-deploy-index@v5 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev index-name: pymechanical-vdev @@ -633,7 +633,7 @@ jobs: needs: [release] steps: - name: Deploy the stable documentation - uses: ansys/actions/doc-deploy-stable@v4 + uses: ansys/actions/doc-deploy-stable@v5 with: cname: ${{ env.DOCUMENTATION_CNAME }} token: ${{ secrets.GITHUB_TOKEN }} @@ -659,7 +659,7 @@ jobs: echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV - name: "Deploy the latest documentation index" - uses: ansys/actions/doc-deploy-index@v4 + uses: ansys/actions/doc-deploy-index@v5 with: cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }} index-name: pymechanical-v${{ env.VERSION_MEILI }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 034418042..5ddd07f51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG](https://kee - Fix pymeilisearch name typo and favicon ([#538](https://github.com/ansys/pymechanical/pull/538)) - Update the gif to reduce the whitespace ([#540](https://github.com/ansys/pymechanical/pull/540)) +- Update ansys/actions to v5 ([#541](https://github.com/ansys/pymechanical/pull/541)) ### Changed