Skip to content

Commit 0410f82

Browse files
Update publish action to fix broken PyPI publishing (#230)
- Update pypa/gh-action-pypi-publish from @master to @release/v1 - Remove deprecated 'user' parameter (defaults to __token__) - Fix parameter name: packages_dir -> packages-dir - Update stefanzweifel/git-auto-commit-action from v4.15.2 to v5 Co-authored-by: Claude <[email protected]>
1 parent 22ae49b commit 0410f82

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release-autowrap.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ jobs:
5353
python -m build
5454
5555
- name: Publish package to PyPI
56-
uses: pypa/gh-action-pypi-publish@master
56+
uses: pypa/gh-action-pypi-publish@release/v1
5757
with:
58-
user: __token__
5958
password: ${{ secrets.PYPI_RELEASE_AUTOWRAP }}
60-
packages_dir: ${{ github.workspace }}/dist
59+
packages-dir: ${{ github.workspace }}/dist
6160

6261
- name: Create github release
6362
uses: softprops/action-gh-release@v2
@@ -95,7 +94,7 @@ jobs:
9594
TUPLE_VER=$(echo $NEXT_VER | sed 's/\./, /g')
9695
sed -i -e "s/^__version_tuple__ = (.*)/__version_tuple__ = ($TUPLE_VER)/g" autowrap/version.py
9796
98-
- uses: stefanzweifel/git-auto-commit-action@v4.15.2
97+
- uses: stefanzweifel/git-auto-commit-action@v5
9998
with:
10099
commit_message: New release cycle
101100
file_pattern: CHANGELOG.md HISTORY.md autowrap/version.py

0 commit comments

Comments
 (0)