Skip to content

Commit 2ee1ccf

Browse files
committed
Updated workflow
1 parent 9703456 commit 2ee1ccf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
pull_request:
1313
branches: [ "main" ]
1414

15+
permissions:
16+
id-token: write # for OIDC
17+
contents: read
18+
1519
jobs:
1620
build:
1721
runs-on: ${{ matrix.os }}
@@ -100,9 +104,5 @@ jobs:
100104
name: Build ${{ env.package }} package
101105
run: python3 -m pip install --upgrade build && python3 -m build
102106
- if: steps.filter.outputs.version == 'true'
103-
name: Upload ${{ env.package }} to PyPi
107+
name: Publish to PyPI
104108
uses: pypa/gh-action-pypi-publish@release/v1
105-
with:
106-
password: ${{ secrets.PYPI_API_TOKEN }}
107-
verbose: true
108-
verify_metadata: false

0 commit comments

Comments
 (0)