Skip to content

Commit

Permalink
Merge pull request #105 from flferretti/patch-2
Browse files Browse the repository at this point in the history
Fix PyPI deployment on CI
  • Loading branch information
Giulero authored Nov 13, 2024
2 parents 8d6e550 + 458c549 commit 52bc60e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pypi-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
deploy_test_PyPI:
name: 📦 Deploy to TestPyPI
runs-on: ubuntu-22.04
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/')
permissions:
id-token: write

id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand All @@ -63,8 +63,9 @@ jobs:
deploy_PyPI:
name: 📦 Deploy to PyPI
runs-on: ubuntu-22.04
if: github.event_name == 'release' || startsWith(github.ref, 'refs/tags/')
permissions:
id-token: write
id-token: write

steps:
- name: Download artifacts
Expand Down

0 comments on commit 52bc60e

Please sign in to comment.