Skip to content
heart

GitHub Action

andreygubarev/setup-direnv

v1.1.0 Latest version

andreygubarev/setup-direnv

heart

andreygubarev/setup-direnv

Set up direnv

Installation

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

              

- name: andreygubarev/setup-direnv

uses: andreygubarev/setup-direnv@v1.1.0

Learn more about this action in andreygubarev/setup-direnv

Choose a version

Direnv GitHub Action

This GitHub Action installs direnv, an environment switcher for the shell. It makes it easy to manage project-specific environment variables without cluttering your shell startup files.

Usage

To use this action in your workflow, add the following step:

- uses: andreygubarev/setup-direnv@v1

This action supports multiple platforms and architectures, which are automatically detected based on the runner that the action is executed on.

Inputs

version

Optional The version of direnv to install. Default is latest.

Outputs

This action does not have any outputs.

Example usage

uses: andreygubarev/setup-direnv@v1
with:
  version: '2.34.0'