Skip to content
battery-charging

GitHub Action

Install nomad (cross-platform)

v1.2.0 Latest version

Install nomad (cross-platform)

battery-charging

Install nomad (cross-platform)

Installs nomad binary file into your actions workflow

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Install nomad (cross-platform)

uses: gacts/[email protected]

Learn more about this action in gacts/install-nomad

Choose a version

Logo

Install nomad action

Release version Build Status License

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).

Additionally, this action uses GitHub caching mechanism to speed up your workflow execution time!

Usage

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, e.g.: `1.2.0`

      - run: nomad version # any nomad command can be executed

Customizing

Inputs

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)

Outputs

Name Type Description
nomad-bin string Path to the nomad binary file

Releasing

New versions releasing scenario:

  • Make required changes in the changelog file
  • Build the action distribution (make build or yarn build)
  • Commit and push changes (including dist directory changes - this is important) into the master branch
  • Publish new release using repo releases page (git tag should follow vX.Y.Z format)

Major and minor git tags (v1 and v1.2 if you publish v1.2.Z release) will be updated automatically.

Support

Issues Issues

If you find any action errors, please, make an issue in the current repository.

License

This is open-sourced software licensed under the MIT License.