Skip to content

Commit

Permalink
Update Python setup and PyPI publish actions in workflow
Browse files Browse the repository at this point in the history
Updated the GitHub action for Python setup to v4 and the action for PyPI distribution publish to release/v1. These changes ensure the use of the latest and more stable versions of these actions in the Python-publish workflow.
  • Loading branch information
Michael Pfister committed Mar 25, 2024
1 parent 42deb67 commit 0784d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install pypa/setuptools
Expand All @@ -29,7 +29,7 @@ jobs:
run: >-
python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 0784d5e

Please sign in to comment.