Skip to content

Commit

Permalink
fix: Switch to trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Båvenstrand committed Jan 25, 2024
1 parent f3e66c9 commit e84712d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/mleko
permissions:
id-token: write
contents: write
Expand Down Expand Up @@ -53,9 +56,6 @@ jobs:
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.release.outputs.released == 'true'
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/upload-to-gh-release@main
Expand Down

0 comments on commit e84712d

Please sign in to comment.