diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index f8418b96..04e04b14 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -307,13 +307,17 @@ jobs: if: github.event_name == 'push' && contains(github.ref, 'refs/tags') needs: build-library runs-on: ubuntu-latest + # Specifying a GitHub environment is optional, but strongly encouraged + environment: release + permissions: + id-token: write + contents: write steps: - name: "Release to the public PyPI repository" uses: ansys/actions/release-pypi-public@v6 with: library-name: ${{ env.LIBRARY_NAME }} - twine-username: "__token__" - twine-token: ${{ secrets.PYPI_TOKEN }} + use-trusted-publisher: true - name: "Release to GitHub" uses: ansys/actions/release-github@v6 diff --git a/doc/source/index.rst b/doc/source/index.rst index 27ffcf39..0f048499 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1,4 +1,4 @@ -PyAEDT common toolkit documentation |version| +PyAEDT Common Toolkit documentation |version| ============================================= **Useful links**: diff --git a/pyproject.toml b/pyproject.toml index 00c67bfa..44500fdb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ ] dependencies = [ "build==1.2.1", - "twine==5.0.0", + "twine==5.1.0", "pyaedt>=0.8.0,<0.10", "pydantic", "tomli; python_version < '3.12'", @@ -50,7 +50,7 @@ doc = [ "pyaedt[all]>=0.8.0,<0.10", "recommonmark>=0.7.0,<0.8", "PySide6-Essentials", - "ansys-sphinx-theme>=0.10.0,<0.16", + "ansys-sphinx-theme>=0.10.0,<0.17", "numpydoc>=1.5.0,<1.8", "Sphinx>=7.1.0,<7.4", "sphinx-copybutton>=0.5.0,<0.6", @@ -59,7 +59,7 @@ doc = [ "nbsphinx>=0.9.0,<0.10", "sphinx_design", "jupytext", - "ipython>=8.13.0,<8.25", + "ipython>=8.13.0,<8.26", "jupyterlab>=4.0.0,<4.3", "pypandoc>=1.10.0,<1.14", ]