Skip to content

Commit

Permalink
update(actions): update gh cmd token and pypi action version
Browse files Browse the repository at this point in the history
  • Loading branch information
CunliangGeng committed Aug 12, 2022
1 parent 2cf4d15 commit 7efc7db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_gh_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
run: |
gh release create v${{ inputs.new_version }} --draft --title v${{ inputs.new_version }} -F $RELEASE_NOTES_FILE
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
- name: Publish a Github release
if: ${{ inputs.mode == 'publish' }}
run: |
gh release create v${{ inputs.new_version }} --title v${{ inputs.new_version }} -F $RELEASE_NOTES_FILE
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish 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 7efc7db

Please sign in to comment.