Skip to content

Commit

Permalink
Enable write for Trusted Publishers pypi (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptAutomate authored Aug 26, 2024
1 parent 1c4dd4c commit 6696033
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
Publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -21,10 +24,9 @@ jobs:
- name: Build a binary wheel and a source tarball
run: |
nox -e build
- name: Publish distribution 📦 to PyPI
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
print-hash: true
skip-existing: true
verbose: true
verify-metadata: true

0 comments on commit 6696033

Please sign in to comment.