Skip to content

Commit

Permalink
Implement PyPI trusted publishing, v0.56.2
Browse files Browse the repository at this point in the history
  • Loading branch information
toomanybrians committed Sep 20, 2023
1 parent 4be0bd4 commit b165390
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,17 +175,19 @@ 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
with:
name: mpf-mc_wheels
path: dist
- name: Publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1

coveralls:
name: Finalize Coveralls
Expand Down
2 changes: 1 addition & 1 deletion mpfmc/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.56.1'
__version__ = '0.56.2'
__short_version__ = '0.56'
__bcp_version__ = '1.1'
__config_version__ = '5'
Expand Down

0 comments on commit b165390

Please sign in to comment.