Disable autoprecompile by default (#26)

This commit is contained in:
Ian Butterworth
2022-12-17 12:35:44 -05:00
committed by GitHub
parent 6d50efe063
commit 139ec78da3

View File

@@ -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 }}"