Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.
/ install-nomad Public archive
generated from actions/javascript-action

๐Ÿš€ Installs nomad binary file into your actions workflow

License

Notifications You must be signed in to change notification settings

gacts/install-nomad

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 the 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

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

Customizing

Inputs

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)

Outputs

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

Releasing

To release a new version:

  • Build the action distribution (make build or npm run build).
  • Commit and push changes (including dist directory changes - this is important) to the master 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.

Support

Issues Pull Requests

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

License

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