-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
74 lines (74 loc) · 2.52 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Stack
description: Build and test a stack-based Haskell project
inputs:
working-directory:
description: |
Working directory for run commands
test:
description: |
Whether to run tests
default: true
stack-arguments:
description: |
Additional arguments for all top-level `stack` command invocations.
default: "--no-terminal"
stack-query-arguments:
description: |
Additional arguments in `stack query` invocations.
stack-path-arguments:
description: |
Additional arguments in ``stack path`` invocations.
stack-setup-arguments:
description: |
Additional arguments in `stack setup` invocations.
stack-build-arguments:
description: |
Additional arguments for all `stack build` invocations.
default: "--fast --pedantic"
stack-build-arguments-dependencies:
description: |
Additional arguments passed after `stack-build-arguments` in `stack build`
invocations on the _Dependencies_ step.
stack-build-arguments-build:
description: |
Additional arguments passed after `stack-build-arguments` in `stack build`
invocations on the _Build_ step.
stack-build-arguments-test:
description: |
Additional arguments passed after `stack-build-arguments` in `stack build`
invocations on the _Test_ step.
cache-prefix:
description: |
Prefix applied to all cache keys. This can be any value you like, but
teams often use `v{N}` and bump it to `v{N+1}` when/if they need to
explicitly bust caches.
cache-save-always:
description: |
Save artifacts to the cache even if the build fails. This may speed up
builds in subsequent runs at the expense of slightly-longer builds when a
full cache-hit occurs. Since `@v4.2.0`.
default: false
on-dirty-files:
description: |
What to do if we find changes to the cabal or lock file after a build.
Value can be `warn`, or `error`. Default is `warn`.
default: warn
install-stack:
description: |
Install stack, if necessary
default: true
upgrade-stack:
description: |
Upgrade stack
default: true
compiler-tools:
description: |
A list of packages to install as compiler tools, one per line. This is
useful to do here rather than separate `run` commands so that their
installation is incorporated in the dependency cache. Since `@v5.2.0`.
stack-yaml:
description: |
**Deprecated** use `env.STACK_YAML` or `stack-arguments` instead.
runs:
using: "node20"
main: "dist/index.js"