Skip to content

Commit 139ec78

Browse files
Disable autoprecompile by default (#26)
1 parent 6d50efe commit 139ec78

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ inputs:
1010
project:
1111
description: 'Value passed to the --project flag. The default value is the repository root: "@."'
1212
default: '@.'
13+
precompile:
14+
description: 'Whether to allow auto-precompilation (via the `JULIA_PKG_PRECOMPILE_AUTO` env var). Options: yes | no. Default value: no.'
15+
default: 'no'
1316

1417
runs:
1518
using: 'composite'
@@ -33,3 +36,5 @@ runs:
3336

3437
- 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'
3538
shell: bash
39+
env:
40+
JULIA_PKG_PRECOMPILE_AUTO: "${{ inputs.precompile }}"

0 commit comments

Comments
 (0)