Skip to content

Commit 7d0588f

Browse files
committed
Updated workflow
1 parent cde9e7b commit 7d0588f

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 }}
@@ -103,9 +107,5 @@ jobs:
103107
name: Build ${{ env.package }} package
104108
run: python3 -m pip install --upgrade build && python3 -m build
105109
- if: steps.filter.outputs.version == 'true'
106-
name: Upload ${{ env.package }} to PyPi
110+
name: Publish to PyPI
107111
uses: pypa/gh-action-pypi-publish@release/v1
108-
with:
109-
password: ${{ secrets.PYPI_API_TOKEN }}
110-
verbose: true
111-
verify_metadata: false

0 commit comments

Comments
 (0)