Set up your GitHub Actions workflow with a specific version of Gomplate.
Input gomplate-version
is optional; default is to install the latest version. See Gomplate releases for list of specific semver release tags.
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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: 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/[email protected]
with:
gomplate-version: v3.10.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: gomplate --version