File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}"
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 }}
You can’t perform that action at this time.
0 commit comments