Skip to content

Commit 596bafb

Browse files
committed
Upgrade actions
1 parent a14af06 commit 596bafb

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0 # Fetch all history for tags and branches
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.x'
2323

@@ -34,16 +34,14 @@ jobs:
3434
shell: bash
3535

3636
- name: Commit version bump
37-
uses: stefanzweifel/git-auto-commit-action@v4
37+
uses: stefanzweifel/git-auto-commit-action@v5
3838
with:
3939
commit_message: 'Version bump to ${{ env.VERSION }} [skip ci]'
4040
file_pattern: |
4141
setup.py
42-
setup.cfg # Include if you have it
43-
your_package/__init__.py # If version is specified here
4442
4543
- name: Create GitHub Release
46-
uses: softprops/action-gh-release@v1
44+
uses: softprops/action-gh-release@v2
4745
with:
4846
tag_name: "v${{ env.VERSION }}"
4947
name: "v${{ env.VERSION }}"
@@ -59,6 +57,6 @@ jobs:
5957
run: python -m build
6058

6159
- name: Publish package to PyPI
62-
uses: pypa/gh-action-pypi-publish@master
60+
uses: pypa/gh-action-pypi-publish@v1
6361
with:
6462
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)