Skip to content
chevron-right

GitHub Action

Setup Elvish

v1.0.0 Latest version

Setup Elvish

chevron-right

Setup Elvish

Download an Elvish binary and add it to PATH

Installation

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

              

- name: Setup Elvish

uses: elves/[email protected]

Learn more about this action in elves/setup-elvish

Choose a version

setup-elvish

This action downloads an Elvish binary and adds it to PATH.

Example of using this in a job (complete example):

steps:
  - uses: elves/setup-elvish@v1
    with:
      elvish-version: 0.20.1
  - name: Run something with Elvish
    shell: elvish {0}
    run: |
      echo This is Elvish $version

If you would like use Elvish as the default shell in run blocks, add the following to the top-level of the workflow configuration (complete example):

defaults:
  run:
    shell: elvish