Skip to content

This GitHub Action installs direnv, an environment switcher for the shell.

License

Notifications You must be signed in to change notification settings

andreygubarev/setup-direnv

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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'