Skip to content

Commit

Permalink
Actually get publish working...
Browse files Browse the repository at this point in the history
  • Loading branch information
seandstewart committed Jun 25, 2023
1 parent 38d2529 commit 4b9b02f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
contents: read
steps:
- uses: actions/checkout@v1
- name: Set up Python
Expand All @@ -21,5 +22,8 @@ jobs:
uses: abatilo/[email protected]
with:
poetry-version: 1.5.1
- name: Mint token
id: mint
uses: tschm/[email protected]
- name: Build and publish
run: poetry publish --build
run: poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}' --build

0 comments on commit 4b9b02f

Please sign in to comment.