Skip to content

Commit

Permalink
Merge pull request #38 from rapid7/release-action-updates
Browse files Browse the repository at this point in the history
Add missing github token env variable
  • Loading branch information
eromani-r7 authored Sep 8, 2021
2 parents 5168f74 + a2cc9bd commit 3b524a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 3b524a5

Please sign in to comment.