Update python-publish.yml

This commit is contained in:
Aaron Heise 2023-02-12 00:57:55 -06:00 committed by GitHub
parent c5bac4f6b6
commit 5fd2a46d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GH_API_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
@ -99,7 +99,7 @@ jobs:
- name: Upload Release Artefact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GH_API_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/rnsh-${{ steps.set_version.outputs.version }}-py3-none-any.whl