diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index daa4e791..04f92a9e 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -175,6 +175,11 @@ jobs: needs: [test_wheels, make_sdist] runs-on: ubuntu-latest if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + environment: + name: pypi + url: https://pypi.org/p/mpf + permissions: + id-token: write steps: - name: Download wheels uses: actions/download-artifact@v3 @@ -182,10 +187,7 @@ jobs: name: mpf-mc_wheels path: dist - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.5.0 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + uses: pypa/gh-action-pypi-publish@release/v1 coveralls: name: Finalize Coveralls diff --git a/mpfmc/_version.py b/mpfmc/_version.py index f639c599..3b1da999 100644 --- a/mpfmc/_version.py +++ b/mpfmc/_version.py @@ -1,4 +1,4 @@ -__version__ = '0.56.1' +__version__ = '0.56.2' __short_version__ = '0.56' __bcp_version__ = '1.1' __config_version__ = '5'