We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9703456 commit 2ee1ccfCopy full SHA for 2ee1ccf
.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 }}
@@ -100,9 +104,5 @@ jobs:
100
104
name: Build ${{ env.package }} package
101
105
run: python3 -m pip install --upgrade build && python3 -m build
102
106
- if: steps.filter.outputs.version == 'true'
103
- name: Upload ${{ env.package }} to PyPi
107
+ name: Publish to PyPI
108
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- password: ${{ secrets.PYPI_API_TOKEN }}
- verbose: true
- verify_metadata: false
0 commit comments