Skip to content

Set up your GitHub Actions workflow with a specific version of Gomplate

License

Notifications You must be signed in to change notification settings

jason-dour/action-setup-gomplate

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

Repository files navigation

action-setup-gomplate

Action Tests

Set up your GitHub Actions workflow with a specific version of Gomplate.

Usage

Input gomplate-version is optional; default is to install the latest version. See Gomplate releases for list of specific semver release tags.

Basic

Add a step that calls jason-dour/action-setup-gomplate, providing the GITHUB_TOKEN from the workflow as an environment variable. This is required.

steps:
- uses: actions/checkout@v3
- uses: jason-dour/action-setup-gomplate@v1.0.0
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: gomplate --version

Specific Gomplate Version

Optionally, you may also specify the semver release tag of a specific Gomplate release to be installed.

steps:
- uses: actions/checkout@v3
- uses: jason-dour/action-setup-gomplate@v1.0.0
  with:
    gomplate-version: v3.10.0
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: gomplate --version