Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 841 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 841 Bytes

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