/direnv-action

Provide environment variables via direnv.

Primary LanguageJavaScriptMIT LicenseMIT

test CodeQL

direnv action

Privides environment variables via direnv

This action provides environment variables via direnv,

Inputs

  • direnvVersion: The version of direnv to use. Default: 2.32.1
  • masks: Comma seprated list of environment variables to mask. Default: ''

Outputs

No outputs

Example usage

uses: HatsuneMiku3939/direnv-action@v1
with:
  direnvVersion: 2.32.1
  masks: SECRET1, SECRET2

This will load .envrc residing at the top of the repository.

Supported platforms and architectures

After v1.0.7, the following platforms and architectures are supported.

Platform Architecture
Linux x86_64
Linux arm64
Darwin x86_64
Darwin arm64

version below v1.0.7, only linux-x86_64 is supported.

Contributors

Kim
Kim SeungSu
hopisaurus/
hopisaurus