From 0dc8ba53d2d45e4ec17a42f0d7b9eb54d2da54f8 Mon Sep 17 00:00:00 2001 From: Eric Romani Date: Wed, 8 Sep 2021 12:13:20 -0500 Subject: [PATCH] Add missing github token env variable --- .github/workflows/manual.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 62014b1..102aa78 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -32,6 +32,8 @@ jobs: go-version: 1.16 - name: Build + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token run: | go build -o cps_linux_amd64_binary -v pip install PyGithub @@ -45,4 +47,4 @@ jobs: git config --global user.name "Actions" git tag -a "$NEW_VERSION" -m "version $NEW_VERSION" git push --follow-tags - python githubrelease.py ${{github.repository}} $GITHUB_TOKEN $NEW_VERSION cps_linux_amd64_binary cps-linux-amd64 + python githubrelease.py ${{github.repository}} $GITHUB_TOKEN $NEW_VERSION cps_linux_amd64_binary cps_linux_amd64