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.
method
: required, the installation methodversion
: 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 |
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