Skip to content

Commit 412545f

Browse files
authored
fix: replace python-semantic-release/upload-to-gh-release with python-semantic-release/publish-action (#211)
python-semantic-release/upload-to-gh-release has been retired and replaced with python-semantic-release/publish-action additionally we have trusted publishing set up now so the token is no longer needed and can be deleted.
1 parent 8b966ee commit 412545f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,9 @@ jobs:
8686
- name: Publish package to PyPI
8787
uses: pypa/gh-action-pypi-publish@release/v1
8888
if: steps.release.outputs.released == 'true'
89-
with:
90-
user: __token__
91-
password: ${{ secrets.PYPI_TOKEN }}
9289

9390
- name: Publish package to GitHub Release
94-
uses: python-semantic-release/upload-to-gh-release@v9.8.9
91+
uses: python-semantic-release/publish-action@v9.21.0
9592
if: steps.release.outputs.released == 'true'
9693
with:
9794
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)