Skip to content
upload-cloud

GitHub Action

Nomad CLI install only

v1.0.0 Latest version

Nomad CLI install only

upload-cloud

Nomad CLI install only

Hashicorp Nomad download specific version binary to $PATH

Installation

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

              

- name: Nomad CLI install only

uses: rluisr/[email protected]

Learn more about this action in rluisr/nomad-action

Choose a version

nomad-actions

Only install/setup Nomad client and nomad-pack.

Usage

steps:
  - name: Setup Nomad
    uses: rluisr/nomad-actions@master

  - name: Deploy
    run: |
      nomad job run job.hcl
      # or nomad-pack run .
    env:
      NOMAD_ADDR: "https://nomad.nomad"
      NOMAD_HTTP_AUTH: "basic:auth"
    # See about environment variables https://www.nomadproject.io/docs/commands

Params

Name Required Description
nomad_version no If empty, used latest version

IMPORTANT NOTICE

nomad-pack is under the preview and we can not download specified version binary.
This actions now download 0.1.1.dev

Locally test

$ act