Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jason-dour/action-setup-gomplate
Set up your GitHub Actions workflow with a specific version of Gomplate
https://github.com/jason-dour/action-setup-gomplate
Last synced: 4 months ago
JSON representation
Set up your GitHub Actions workflow with a specific version of Gomplate
- Host: GitHub
- URL: https://github.com/jason-dour/action-setup-gomplate
- Owner: jason-dour
- License: mit
- Created: 2022-05-20T21:39:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-26T02:06:34.000Z (6 months ago)
- Last Synced: 2024-07-28T08:21:15.401Z (5 months ago)
- Language: JavaScript
- Size: 1.22 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - jason-dour/action-setup-gomplate - Set up your GitHub Actions workflow with a specific version of Gomplate (JavaScript)
README
# action-setup-gomplate
![Action Tests](https://github.com/jason-dour/action-setup-gomplate/actions/workflows/test.yml/badge.svg)
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](https://github.com/hairyhenderson/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**.
```yaml
steps:
- uses: actions/checkout@v3
- uses: jason-dour/[email protected]
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.
```yaml
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
```