Skip to content

Commit fd77257

Browse files
authored
GH-770: Update publish distribution to Pypi workflow
1 parent a03af00 commit fd77257

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release-pypi.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
build_and_package_pypi:
77
if: contains(github.event.head_commit.message, 'Release')
88
name: Build and package Pypi
9+
permissions:
10+
id-token: write
911
runs-on: ubuntu-latest
1012
steps:
1113
- name: Checkout master
1214
uses: actions/checkout@v1
13-
with:
14-
python-version: 3.7
1515
- name: Install pypa/build
1616
run: >-
1717
python -m
@@ -26,6 +26,4 @@ jobs:
2626
--wheel
2727
--outdir dist/
2828
- name: Publish distribution 📦 to PyPI
29-
uses: pypa/gh-action-pypi-publish@master
30-
with:
31-
password: ${{ secrets.PYPI_API_TOKEN }}
29+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)