Skip to content

pcjun97/action-setup-tfswitch

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup tfswitch

Sets up tfswitch in a Github Actions workflow.

Input variables

See action.yml for more detailed information.

Usage

Default - Download and set up the latest release. Will also add a .tfswitch.toml to the home directory to configure the terraform installation directory.

- uses: pcjun97/[email protected]
  with:
    github-token: ${{ github.token }}

- run: tfswitch 1.2.0

Alternatively, specify a specific version of tfswitch to install.

- uses: pcjun97/[email protected]
  with:
    github-token: ${{ github.token }}
    tag: 0.13.1275

- run: tfswitch 1.0.0