generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 39
/
action.yml
48 lines (48 loc) · 1.32 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
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:
allow-prerelease-opam:
description: Allow to use a pre-release version of opam.
required: false
default: "false"
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: |
default: git+https://github.com/ocaml/opam-repository.git
opam-pin:
description: Enable the automation feature for opam pin.
required: false
default: "true"
opam-local-packages:
description: The local packages to be used by `opam-pin`.
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: node20
main: dist/index.js
post: dist/post/index.js
post-if: success()