Skip to content

hashicorp/action-setup-bob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

action-setup-bob Heimdall CI

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.

Usage

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.0

Inputs

The actions supports the following inputs:

  • github-token: The GitHub token secret to use with permissions to download bob CLI
  • tag: The tag of the release of bob to install, defaulting to latest

Release Instructions

After your PR is merged to the default branch, main:

  1. Update locally: git checkout main && git pull origin main
  2. Create a new tag for the release, e.g. v2.0.1 with git tag v2.0.1 && git push origin v2.0.1.
  3. Update the major version tag locally, e.g. git tag -d v2 && git tag v2
  4. Update the major version tag upstream, e.g. git push origin :refs/tags/v2 && git push origin v2