From 5fd2a46d5ed599092207c2f549b82c1cf94b6876 Mon Sep 17 00:00:00 2001 From: Aaron Heise Date: Sun, 12 Feb 2023 00:57:55 -0600 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index cf56f11..acfe999 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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