From e8485f9b9da5ce398c1a91421cb3c4c17d70302d Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Fri, 16 Aug 2024 19:32:02 +0200 Subject: [PATCH] fix: update actions version --- .../.github/workflows/ci_cd.yml | 28 +++++++++---------- .../requirements_doc.txt | 6 ++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/ansys/templates/python/common/{{cookiecutter.__project_name_slug}}/.github/workflows/ci_cd.yml b/src/ansys/templates/python/common/{{cookiecutter.__project_name_slug}}/.github/workflows/ci_cd.yml index a5410e747..7e8c20d91 100644 --- a/src/ansys/templates/python/common/{{cookiecutter.__project_name_slug}}/.github/workflows/ci_cd.yml +++ b/src/ansys/templates/python/common/{{cookiecutter.__project_name_slug}}/.github/workflows/ci_cd.yml @@ -28,7 +28,7 @@ jobs: contents: write pull-requests: write steps: - - uses: ansys/actions/doc-deploy-changelog@v6 + - uses: ansys/actions/doc-deploy-changelog@v7 with: token: {{ '${{ secrets.PYANSYS_CI_BOT_TOKEN }}' }} @@ -36,7 +36,7 @@ jobs: name: "Code style" runs-on: ubuntu-latest steps: - - uses: ansys/actions/code-style@v6 + - uses: ansys/actions/code-style@v7 with: python-version: {{ '${{ env.MAIN_PYTHON_VERSION }}' }} @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest steps: - name: PyAnsys documentation style checks - uses: ansys/actions/doc-style@v6 + uses: ansys/actions/doc-style@v7 with: token: {{ '${{ secrets.GITHUB_TOKEN }}' }} @@ -66,7 +66,7 @@ jobs: {%- endfor -%} python-version: {{ python_versions }} steps: - - uses: ansys/actions/build-wheelhouse@v6 + - uses: ansys/actions/build-wheelhouse@v7 with: library-name: {{ '${{ env.LIBRARY_NAME }}' }} operating-system: {{ '${{ matrix.os }}' }} @@ -90,7 +90,7 @@ jobs: fail-fast: false steps: - name: PyAnsys tests check - uses: ansys/actions/tests-pytest@v6 + uses: ansys/actions/tests-pytest@v7 with: pytest-extra-args: "--cov=ansys --cov-report=term --cov-report=html:.cov/html" python-version: {{ '${{ matrix.python-version }}' }} @@ -116,7 +116,7 @@ jobs: runs-on: ubuntu-latest needs: [doc-style] steps: - - uses: ansys/actions/doc-build@v6 + - uses: ansys/actions/doc-build@v7 with: python-version: {{ '${{ env.MAIN_PYTHON_VERSION }}' }} @@ -125,7 +125,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Build library source and wheel artifacts" - uses: ansys/actions/build-library@v6 + uses: ansys/actions/build-library@v7 with: library-name: {{ '${{ env.LIBRARY_NAME }}' }} @@ -135,7 +135,7 @@ jobs: needs: [doc-build, build-library] if: github.ref == 'refs/heads/main' steps: - - uses: ansys/actions/doc-deploy-dev@v6 + - uses: ansys/actions/doc-deploy-dev@v7 with: cname: {{ '${{ env.DOCUMENTATION_CNAME }}' }} token: {{ '${{ secrets.GITHUB_TOKEN }}' }} @@ -146,7 +146,7 @@ jobs: needs: [doc-build, build-library] if: github.event_name == 'push' && contains(github.ref, 'refs/tags') steps: - - uses: ansys/actions/doc-deploy-stable@v6 + - uses: ansys/actions/doc-deploy-stable@v7 with: cname: {{ '${{ env.DOCUMENTATION_CNAME }}' }} token: {{ '${{ secrets.GITHUB_TOKEN }}' }} @@ -159,7 +159,7 @@ jobs: # needs: doc-deploy-dev # steps: # - name: "Deploy the latest documentation index" - # uses: ansys/actions/doc-deploy-index@v6 + # uses: ansys/actions/doc-deploy-index@v7 # with: # cname: "{{ '${{ env.DOCUMENTATION_CNAME }}' }}/version/dev" # index-name: "{{ '${{ env.LIBRARY_NAME }}'}}-vdev" @@ -188,7 +188,7 @@ jobs: # echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV # - name: "Deploy the latest documentation index" - # uses: ansys/actions/doc-deploy-index@v6 + # uses: ansys/actions/doc-deploy-index@v7 # with: # cname: "{{ '${{ env.DOCUMENTATION_CNAME }}' }}/version/{{ '${{ env.VERSION }}' }}" # index-name: "{{ '${{ env.LIBRARY_NAME }}' }}-v{{ '${{ env.VERSION_MEILI }}' }}" @@ -203,7 +203,7 @@ jobs: steps: - name: "Release to the private PyPI repository" if: github.event_name == 'push' && contains(github.ref, 'refs/tags') - uses: ansys/actions/release-pypi-private@v6 + uses: ansys/actions/release-pypi-private@v7 with: library-name: {{ '${{ env.LIBRARY_NAME }}' }} twine-username: "__token__" @@ -216,7 +216,7 @@ jobs: # steps: # - name: "Release to the public PyPI repository" # if: github.event_name == 'push' && contains(github.ref, 'refs/tags') - # uses: ansys/actions/release-pypi-public@v6 + # uses: ansys/actions/release-pypi-public@v7 # with: # library-name: {{ '${{ env.DOCUMENTATION_CNAME }}' }} # twine-username: "__token__" @@ -229,6 +229,6 @@ jobs: steps: - name: "Release to GitHub" if: github.event_name == 'push' && contains(github.ref, 'refs/tags') - uses: ansys/actions/release-github@v6 + uses: ansys/actions/release-github@v7 with: library-name: {{ '${{ env.DOCUMENTATION_CNAME }}' }} diff --git a/src/ansys/templates/python/common/{{cookiecutter.__project_name_slug}}/requirements_doc.txt b/src/ansys/templates/python/common/{{cookiecutter.__project_name_slug}}/requirements_doc.txt index 7448b2707..6c8c80fd0 100644 --- a/src/ansys/templates/python/common/{{cookiecutter.__project_name_slug}}/requirements_doc.txt +++ b/src/ansys/templates/python/common/{{cookiecutter.__project_name_slug}}/requirements_doc.txt @@ -1,4 +1,4 @@ -ansys-sphinx-theme==0.12.5 -numpydoc==1.6.0 -sphinx==7.2.6 +ansys-sphinx-theme==1.0.5 +numpydoc==1.8.0 +sphinx==8.0.2 sphinx-copybutton==0.5.2