Skip to content

Commit

Permalink
Fix publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bindreams committed Apr 28, 2024
1 parent 3b84361 commit 1575f3e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# See also:
# https://github.com/pypa/gh-action-pypi-publish
# https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/
name: Publish

on:
Expand All @@ -16,6 +19,8 @@ jobs:
publish:
name: Publish to ${{ options.repository }}
runs-on: ubuntu-latest
environment:
name: publish-${{ options.repository }}
permissions:
id-token: write
steps:
Expand All @@ -36,5 +41,3 @@ jobs:
echo "UPLOAD_URL=$URL" >> "$GITHUB_ENV"
- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: $UPLOAD_URL

0 comments on commit 1575f3e

Please sign in to comment.