Skip to content
dollar-sign

GitHub Action

Setup hledger

v1.40.0 Latest version

Setup hledger

dollar-sign

Setup hledger

Download and install hledger binary

Installation

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

              

- name: Setup hledger

uses: ngalaiko/setup-hledger@v1.40.0

Learn more about this action in ngalaiko/setup-hledger

Choose a version

setup-hledger

Test

This action can be used to setup hledger binaries.

Usage

See action.yaml

Basic:

steps:
- uses: actions/checkout@v3
- uses: ngalaiko/setup-hledger@v1
- run: |
    hledger --version

Specific version:

steps:
- uses: actions/checkout@v3
- uses: ngalaiko/setup-hledger@v1
  with:
    version: 1.28
- run: |
    hledger --version

The version input is optional. If not supplied, the latest available release will be used.

Supported versions

All the versions released on GitHub are supported.

Supported runners

  • ubuntu-latest
  • macos-latest

License

The scripts and documentation in this project are released under the MIT License