Skip to content

Commit

Permalink
Made changes to support trusted publisher for release
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcaley committed Oct 11, 2023
1 parent 12e66f2 commit 8c9b12a
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 @@ -7,6 +7,8 @@ jobs:
release:
name: "Upload release artifacts"
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Save tag
Expand Down Expand Up @@ -48,6 +50,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 8c9b12a

Please sign in to comment.