From 139ec78da33ea81adeb8a77ce2b781f533664086 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Sat, 17 Dec 2022 12:35:44 -0500 Subject: [PATCH] Disable autoprecompile by default (#26) --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index c2fa9ff..a66ea0a 100644 --- a/action.yml +++ b/action.yml @@ -10,6 +10,9 @@ inputs: project: description: 'Value passed to the --project flag. The default value is the repository root: "@."' default: '@.' + precompile: + description: 'Whether to allow auto-precompilation (via the `JULIA_PKG_PRECOMPILE_AUTO` env var). Options: yes | no. Default value: no.' + default: 'no' runs: using: 'composite' @@ -33,3 +36,5 @@ runs: - run: julia --color=yes --project=${{ inputs.project }} -e 'using Pkg; if VERSION >= v"1.1.0-rc1"; Pkg.build(verbose=true); else Pkg.build(); end' shell: bash + env: + JULIA_PKG_PRECOMPILE_AUTO: "${{ inputs.precompile }}"