We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cde9e7b commit 7d0588fCopy full SHA for 7d0588f
.github/workflows/python-package.yml
@@ -12,6 +12,10 @@ on:
12
pull_request:
13
branches: [ "main" ]
14
15
+permissions:
16
+ id-token: write # for OIDC
17
+ contents: read
18
+
19
jobs:
20
build:
21
runs-on: ${{ matrix.os }}
@@ -103,9 +107,5 @@ jobs:
103
107
name: Build ${{ env.package }} package
104
108
run: python3 -m pip install --upgrade build && python3 -m build
105
109
- if: steps.filter.outputs.version == 'true'
106
- name: Upload ${{ env.package }} to PyPi
110
+ name: Publish to PyPI
111
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- password: ${{ secrets.PYPI_API_TOKEN }}
- verbose: true
- verify_metadata: false
0 commit comments