diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28556a4..e991546 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,7 @@ jobs: - name: Create draft release env: VERSION: ${{ steps.version.outputs.version }} - GH_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ github.token }} shell: bash run: | gh release create "${VERSION}" --draft --notes-file RELEASE.md @@ -55,7 +55,7 @@ jobs: - name: Publish Release env: VERSION: ${{ steps.version.outputs.version }} - GH_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ github.token }} shell: bash run: | gh release edit "${VERSION}" --draft=false --latest @@ -63,7 +63,7 @@ jobs: - name: Upload release artifacts env: VERSION: ${{ steps.version.outputs.version }} - GH_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ github.token }} shell: bash run: | gh release upload "${VERSION}" "./release-${VERSION}/cfapi-default-cr.yaml"