For internal HashiCorp use only. The output of this action is specifically designed to satisfy the needs of our internal deployment system, and may not be useful to other organizations.
GitHub action to setup bob CLI. This action can be run on ubuntu-latest and macos-latest GitHub Actions runners, and will install and expose a specified version of the bob CLI on the runner environment.
Setup the bob CLI:
steps:
- uses: hashicorp/action-setup-bob@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}A specific version of the bob CLI can be installed:
steps:
- uses: hashicorp/action-setup-bob@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
tag: v0.2.0The actions supports the following inputs:
github-token: The GitHub token secret to use with permissions to downloadbobCLItag: The tag of the release ofbobto install, defaulting to latest
After your PR is merged to the default branch, main:
- Update locally:
git checkout main && git pull origin main - Create a new tag for the release, e.g.
v2.0.1withgit tag v2.0.1 && git push origin v2.0.1. - Update the major version tag locally, e.g.
git tag -d v2 && git tag v2 - Update the major version tag upstream, e.g.
git push origin :refs/tags/v2 && git push origin v2