Skip to content

Commit 671e861

Browse files
authored
Merge pull request #41 from esy/prometheansacrifice/fix-compiler-version-detection-in-bundle-job
Fix compiler version detection in bundle job
2 parents 43e819a + eaf0af0 commit 671e861

File tree

3 files changed

+310
-348
lines changed

3 files changed

+310
-348
lines changed

action.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,27 @@ inputs:
1818
manifest:
1919
description: JSON or opam file to be used
2020
required: false
21+
ocaml-compiler-version:
22+
description:
23+
Version of ocaml compiler (in semver. Eg. 5.1.0 or 4.10.1000) Optional,
24+
but mandatory if prepare-npm-artifacts-mode and bundle-npm-artifacts-mode
25+
is used. This is because, these version strings affect the relocatability
26+
logic while both preparation mode, and while postinstall scripts are
27+
generated during bundling mode.
28+
required: false
29+
ocaml-static-compiler-version:
30+
description:
31+
Version of static ocaml compiler (in semver. Eg. 5.1.0-musl.static.flambda
32+
or 4.10.1000-musl.static.flambda). Optional, but mandatory if
33+
prepare-npm-artifacts-mode and bundle-npm-artifacts-mode is used. This is
34+
because, these version strings affect the relocatability logic while both
35+
preparation mode, and while postinstall scripts are generated during
36+
bundling mode.
37+
required: false
2138
prepare-npm-artifacts-mode:
2239
description:
2340
Runs a steps that prepare artifacts for release the app to NPM. These
24-
artifacts are later used by, `bundle-npm-tarball-mode`
41+
artifacts are later used by, `bundle-npm-tarball-mode`.
2542
required: false
2643
bundle-npm-artifacts-mode:
2744
description: Runs a steps that bundle artifacts for release the app to NPM.

0 commit comments

Comments
 (0)