File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ jobs:
142142 runs-on : ubuntu-latest
143143 permissions :
144144 contents : write
145- packages : write # Required for publishing to GitHub Packages
145+ id-token : write # Required for trusted publishing to PyPI
146146 steps :
147147 - uses : actions/checkout@v4
148148
@@ -159,7 +159,13 @@ jobs:
159159 generate_release_notes : true
160160 files : dist/*
161161
162- - name : Publish to GitHub Packages
162+ # GitHub Packages does not currently support Python packages -- https://github.com/orgs/community/discussions/8542
163+
164+ # - name: Publish to GitHub Packages
165+ # uses: pypa/gh-action-pypi-publish@release/v1
166+ # with:
167+ # repository-url: https://pypi.pkg.github.com/fdcastel
168+
169+ - name : Publish to PyPI
170+ if : github.repository == 'FirebirdSQL/python3-driver'
163171 uses : pypa/gh-action-pypi-publish@release/v1
164- with :
165- repository-url : https://pypi.pkg.github.com/fdcastel
You can’t perform that action at this time.
0 commit comments