Skip to content

Commit bbfeb63

Browse files
committed
Support prefixes with args
Supersedes #48
1 parent c80d307 commit bbfeb63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ runs:
6666
julia_cmd=( julia --color=yes --depwarn=${{ inputs.depwarn }} --inline=${{ inputs.inline }} --project=${{ inputs.project }} -e 'include(joinpath(ENV["GITHUB_ACTION_PATH"], "test_harness.jl"))' )
6767
6868
# Add the prefix in front of the command if there is one
69-
prefix="${{ inputs.prefix }}"
70-
[[ -n $prefix ]] && julia_cmd=( "$prefix" "${julia_cmd[@]}" )
69+
prefix=( ${{ inputs.prefix }} )
70+
[[ -n ${prefix[*]} ]] && julia_cmd=( "${prefix[@]}" "${julia_cmd[@]}" )
7171
7272
# Run the Julia command
7373
"${julia_cmd[@]}"

0 commit comments

Comments
 (0)