Skip to content

Commit 7beda40

Browse files
authored
Update package publish workflow
1 parent 837bc0b commit 7beda40

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
1-
# This workflow will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3-
4-
# This workflow uses actions that are not certified by GitHub.
5-
# They are provided by a third-party and are governed by
6-
# separate terms of service, privacy policy, and support
7-
# documentation.
8-
91
name: Upload Python Package
10-
112
on:
123
release:
134
types: [published]
14-
155
permissions:
166
contents: read
17-
187
jobs:
198
deploy:
20-
219
runs-on: ubuntu-latest
22-
2310
steps:
2411
- uses: actions/checkout@v4
2512
- name: Set up Python
@@ -33,7 +20,6 @@ jobs:
3320
- name: Build package
3421
run: python -m build
3522
- name: Publish release distributions to PyPI
36-
uses: pypa/gh-action-pypi-publish@6f7e8d9c0b1a2c3d4e5f6a7b8c9d0e1f2a3b4c5d
23+
uses: pypa/gh-action-pypi-publish@release/v1
3724
with:
38-
user: __token__
3925
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)