forked from ocaml/setup-ocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
51 lines (51 loc) · 1.36 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
name: Set up OCaml
description: Set up an OCaml and opam environment and add to PATH
author: Anil Madhavapeddy
branding:
icon: package
color: orange
inputs:
ocaml-compiler:
description: The OCaml compiler packages to initialise.
required: true
opam-repositories:
description: The name and URL pair of the repository to fetch the packages from.
required: false
default:
opam-pin:
description: Enable the automation feature for opam pin.
required: false
default: true
opam-depext:
description: Enable the automation feature for opam depext.
required: false
default: true
opam-depext-flags:
description: The flags for the opam depext command.
required: false
default:
opam-local-packages:
description: The local packages to be used by `opam-pin` or `opam-depext`.
required: false
default: "*.opam"
opam-disable-sandboxing:
description: Disable the opam sandboxing feature.
required: false
default: false
dune-cache:
description: Enable the dune cache feature.
required: false
default: false
cache-prefix:
description: The prefix of the cache keys.
required: false
default: v1
github-token:
description: DO NOT SET THIS.
required: false
default: ${{ github.token }}
runs:
using: node16
main: dist/index.js
post: dist/post/index.js
post-if: success()