@@ -22,46 +22,53 @@ export const CYGWIN_ROOT_BIN = path.join(CYGWIN_ROOT, "bin");
2222export const CYGWIN_ROOT_WRAPPERBIN = path . join ( CYGWIN_ROOT , "wrapperbin" ) ;
2323
2424export const CACHE_PREFIX = core . getInput ( "cache-prefix" , {
25+ required : false ,
2526 trimWhitespace : true ,
2627} ) ;
2728
2829export const GITHUB_TOKEN = core . getInput ( "github-token" , {
30+ required : false ,
2931 trimWhitespace : true ,
3032} ) ;
3133
3234export const DUNE_CACHE = core . getBooleanInput ( "dune-cache" , {
35+ required : false ,
3336 trimWhitespace : true ,
3437} ) ;
3538
3639export const OCAML_COMPILER = core . getInput ( "ocaml-compiler" , {
40+ required : true ,
3741 trimWhitespace : true ,
3842} ) ;
3943
4044export const OPAM_DEPEXT = core . getBooleanInput ( "opam-depext" , {
45+ required : false ,
4146 trimWhitespace : true ,
4247} ) ;
4348
4449export const OPAM_DEPEXT_FLAGS = core
45- . getInput ( "opam-depext-flags" , { trimWhitespace : true } )
50+ . getInput ( "opam-depext-flags" , { required : false , trimWhitespace : true } )
4651 . split ( "," )
4752 . map ( ( f ) => f . trim ( ) )
4853 . filter ( ( f ) => f . length > 0 ) ;
4954
5055export const OPAM_DISABLE_SANDBOXING = core . getBooleanInput (
5156 "opam-disable-sandboxing" ,
52- { trimWhitespace : true }
57+ { required : false , trimWhitespace : true }
5358) ;
5459
5560export const OPAM_LOCAL_PACKAGES = core . getInput ( "opam-local-packages" , {
61+ required : false ,
5662 trimWhitespace : true ,
5763} ) ;
5864
5965export const OPAM_PIN = core . getBooleanInput ( "opam-pin" , {
66+ required : false ,
6067 trimWhitespace : true ,
6168} ) ;
6269
6370const repositories_yaml = yaml . parse (
64- core . getInput ( "opam-repositories" , { trimWhitespace : true } )
71+ core . getInput ( "opam-repositories" , { required : false , trimWhitespace : true } )
6572) as Record < string , string > | null ;
6673
6774const platform = getPlatform ( ) ;
0 commit comments