Skip to content

esy/github-action

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

esy - GitHub Action

This action runs cached esy install and esy build in the current directory

Inputs

  • cache-key: Required The cache key. Typically ${{ hashFiles('esy.lock/index.json') }}
  • esy-prefix: The prefix of esy folder
  • working-directory: Working directory.
  • manifest: JSON or opam file to be used

Example usage

- uses: actions/setup-node@v2
- name: Install esy
  run: npm install -g esy
- uses: esy/github-action@v1
  with:
    cache-key: ${{ hashFiles('esy.lock/index.json') }}