Skip to content

Instantly share code, notes, and snippets.

Last active Jul 28, 2022
What would you like to do?

Go builds in github actions

  1. Create the .github/workflows/release_build.yml. Pay attention to line 30, you may want to adjust that for your project.
  2. In the github UI, add a new token in Settings > Developer Settings > Personal access tokens. Save the token.
  3. In your project settings, under Secrets > Actions add a secret name with the value of the token that you just created.
  4. Use a script to automate the release process. Modify the script to match your project settings. The script I link above expects a variable help that encodes the semantic version of the tool. The script updates that and pushes the changes to github.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment