Install nomad Action
This action installs nomad as a binary file into your workflow. It can be run on Linux (ubuntu-latest
),
macOS (macos-latest
), or Windows (windows-latest
).
- ๐พ Nomad downloads page: https://www.nomadproject.io/downloads
- ๐ Nomad releases page: https://github.com/hashicorp/nomad/releases
Additionally, this action uses the GitHub caching mechanism to speed up your workflow execution time!
jobs:
install-nomad:
runs-on: ubuntu-latest
steps:
- uses: gacts/install-nomad@v1
#with:
# version: 1.2.0 # `latest` by default, but you can set a specific version to install
- run: nomad version # any nomad command can be executed
The following inputs can be used as step.with
keys:
Name | Type | Default | Required | Description |
---|---|---|---|---|
version |
string |
latest |
no | Nomad version to install |
github-token |
string |
${{ github.token }} |
no | GitHub token (for requesting the latest Nomad version info) |
Name | Type | Description |
---|---|---|
nomad-bin |
string |
Path to the nomad binary file |
To release a new version:
- Build the action distribution (
make build
ornpm run build
). - Commit and push changes (including
dist
directory changes - this is important) to themaster
branch. - Publish the new release using the repo releases page (the git tag should follow the
vX.Y.Z
format).
Major and minor git tags (v1
and v1.2
if you publish a v1.2.Z
release) will be updated automatically.
Tip
Use Dependabot to keep this action updated in your repository.
If you find any action errors, please, make an issue in the current repository.
This is open-source software licensed under the MIT License.