Skip to content
play

GitHub Action

direnv action

v1.0.7 Latest version

direnv action

play

direnv action

Privides environment variables via direnv

Installation

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

              

- name: direnv action

uses: HatsuneMiku3939/[email protected]

Learn more about this action in HatsuneMiku3939/direnv-action

Choose a version

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