Skip to content

Commit

Permalink
Merge pull request #428 from mjcaley/trusted-publisher
Browse files Browse the repository at this point in the history
Made changes to support trusted publisher for release
  • Loading branch information
mjcaley committed Oct 11, 2023
2 parents 12e66f2 + ae6f941 commit 86b82df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
release:
name: "Upload release artifacts"
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Save tag
Expand Down Expand Up @@ -48,6 +51,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to PyPI
run: poetry publish -n
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_ACCESS_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 86b82df

Please sign in to comment.