Skip to content

Install the Infisical CLI in an Actions runner

Notifications You must be signed in to change notification settings

enerflo/install-infisical-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install the Infisical CLI on a runner

This is a simple action that can be used to install the Infisical CLI in a Github Actions runner.

There are multiple methods of installing depending on the context. The easiest method is to install through NPM, but in cases where a project is not using Node.js or if the version of Node.js is too old to correctly install the package, an operating system-specific method must be used.

Inputs

  • method: required, the installation method
  • version: optional, the version of the CLI to install

The method input is required, but has a default value.

Method Description Requirements
npm Install through NPM Node.js installed, version 18 or later
ubuntu Install through apt on Ubuntu Linux Ubuntu-based runner

Usage

Note that the @v1 at the end of the uses line should reference the latest release tag for this repository.

For a Node.js project:

- name: Install Infisical CLI
  uses: enerflo/install-infisical-action@v1

Install a specific version of the Infisical CLI:

- name: Install Infisical CLI
  uses: enerflo/install-infisical-action@v1
  with:
    version: "0.34.2"

Install in an Ubuntu runner:

- name: Install Infisical CLI
  uses: enerflo/install-infisical-action@v1
  with:
    method: ubuntu

About

Install the Infisical CLI in an Actions runner

Resources

Stars

Watchers

Forks

Packages

No packages published