2019-11-08 17:02:36 +00:00
|
|
|
name: 'Setup Haskell'
|
|
|
|
|
description: 'Set up a specific version of GHC and Cabal and add the command-line tools to the PATH'
|
2019-09-23 19:56:26 -07:00
|
|
|
author: 'GitHub'
|
|
|
|
|
inputs:
|
|
|
|
|
ghc-version:
|
2020-03-23 11:18:29 -07:00
|
|
|
required: false
|
2020-04-24 11:53:29 -07:00
|
|
|
description: 'Version of GHC to use. If set to "latest", it will always get the latest stable version.'
|
|
|
|
|
default: 'latest'
|
2019-09-30 11:43:06 -07:00
|
|
|
cabal-version:
|
2020-03-23 11:18:29 -07:00
|
|
|
required: false
|
2020-04-24 11:53:29 -07:00
|
|
|
description: 'Version of Cabal to use. If set to "latest", it will always get the latest stable version.'
|
|
|
|
|
default: 'latest'
|
2020-03-23 11:18:29 -07:00
|
|
|
stack-version:
|
|
|
|
|
required: false
|
2020-04-24 11:53:29 -07:00
|
|
|
description: 'Version of Stack to use. If set to "latest", it will always get the latest stable version.'
|
|
|
|
|
default: 'latest'
|
|
|
|
|
enable-stack:
|
|
|
|
|
required: false
|
|
|
|
|
description: 'If specified, will setup Stack'
|
2020-03-23 11:18:29 -07:00
|
|
|
stack-no-global:
|
|
|
|
|
required: false
|
2020-04-24 11:53:29 -07:00
|
|
|
description: 'If specified, enable-stack must be set. Prevents installing GHC and Cabal globally'
|
2020-03-23 11:18:29 -07:00
|
|
|
stack-setup-ghc:
|
|
|
|
|
required: false
|
2020-04-24 11:53:29 -07:00
|
|
|
description: 'If specified, enable-stack must be set. Will run stack setup to install the specified GHC'
|
|
|
|
|
outputs:
|
|
|
|
|
ghc-path:
|
|
|
|
|
description: 'The path of the ghc executable _directory_'
|
|
|
|
|
cabal-path:
|
|
|
|
|
description: 'The path of the cabal executable _directory_'
|
|
|
|
|
stack-path:
|
|
|
|
|
description: 'The path of the stack executable _directory_'
|
|
|
|
|
cabal-store:
|
|
|
|
|
description: 'The path to the cabal store'
|
|
|
|
|
ghc-exe:
|
|
|
|
|
description: 'The path of the ghc _executable_'
|
|
|
|
|
cabal-exe:
|
|
|
|
|
description: 'The path of the cabal _executable_'
|
|
|
|
|
stack-exe:
|
|
|
|
|
description: 'The path of the stack _executable_'
|
2019-09-23 19:56:26 -07:00
|
|
|
runs:
|
|
|
|
|
using: 'node12'
|
2020-03-23 11:18:29 -07:00
|
|
|
main: 'dist/index.js'
|