Skip to content

Commit

Permalink
chore: Update python-package.yml
Browse files Browse the repository at this point in the history
Attempt to publish release 1.0.1
  • Loading branch information
pbrod authored Oct 3, 2024
1 parent 5488307 commit 4301c10
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,23 @@ jobs:
pypi-publish:
needs: ci
# Only run this job if new work is pushed to the "master" branch
if: github.event_name == 'push' && github.ref == 'refs/heads/master'

name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# This permission is needed for private repositories.
contents: read
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

# Dedicated environments with protections for publishing are strongly recommended.
environment:
name: pypi
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
url: https://pypi.org/p/nvector

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 4301c10

Please sign in to comment.