diff --git a/.github/workflows/pip-update.yml b/.github/workflows/pip-update.yml index 118069c..d07d444 100644 --- a/.github/workflows/pip-update.yml +++ b/.github/workflows/pip-update.yml @@ -14,6 +14,11 @@ permissions: jobs: deploy: runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/umbridge + permissions: + id-token: write steps: - uses: actions/checkout@v3 - name: Set up Python @@ -27,7 +32,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/setup.py b/setup.py index c948728..814f4b8 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="umbridge", - version="1.2.6", + version="1.2.7", author="UM-Bridge", author_email="", description="UM-Bridge (the UQ and Model Bridge) provides a unified interface for numerical models that is accessible from virtually any programming language or framework. It is primarily intended for coupling advanced models (e.g. simulations of complex physical processes) to advanced statistical or optimization methods.",