Skip to content

Commit 386601b

Browse files
james-martensKfacJaxDev
authored andcommitted
Reversing previous change.
PiperOrigin-RevId: 761086566
1 parent 382a510 commit 386601b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write
1012
steps:
1113
- uses: actions/checkout@v4
1214
- name: Set up Python
@@ -25,10 +27,8 @@ jobs:
2527
then
2628
echo "package ver. ($PACKAGE_VER) != release ver. ($RELEASE_VER)"; exit 1
2729
fi
28-
- name: Build and publish
29-
env:
30-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
31-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
30+
- name: Build
3231
run: |
3332
python -m build
34-
twine upload dist/*
33+
- name: Publish package distributions to PyPI
34+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)