Skip to content

Commit f995fa4

Browse files
authored
Support setting the Julia project (#15)
1 parent 1b0a69a commit f995fa4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ branding:
66
icon: 'box'
77
color: 'gray-dark'
88

9+
inputs:
10+
project:
11+
description: 'Value passed to the --project flag. The default value is the repository root: "@."'
12+
default: '@.'
13+
914
runs:
1015
using: 'composite'
1116
steps:
@@ -26,5 +31,5 @@ runs:
2631
# packages via `Pkg.test`.
2732
JULIA_PKG_SERVER: ""
2833

29-
- run: julia --color=yes --project -e 'using Pkg; if VERSION >= v"1.1.0-rc1"; Pkg.build(verbose=true); else Pkg.build(); end'
34+
- 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'
3035
shell: bash

0 commit comments

Comments
 (0)