Skip to content
package

GitHub Action

Esy Github Action

v1 Latest version

Esy Github Action

package

Esy Github Action

Run cached esy install and esy build

Installation

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

              

- name: Esy Github Action

uses: esy/github-action@v1

Learn more about this action in esy/github-action

Choose a version

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('**/index.json') }}

esy-prefix

The prefix of esy folder

working-directory

Working directory.

Example usage

- uses: actions/[email protected]
  with:
    node-version: 12
- name: Install esy
  run: npm install -g esy
- uses: wokalski/esy-github-action@v1
  with:
  cache-key: ${{ hashFiles('**/index.json') }}