Skip to content

Commit 1fb19b0

Browse files
committed
There's a version of bash that can't ${foo,, ?
1 parent 9798ef3 commit 1fb19b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci-lazypg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
echo >>"$GITHUB_ENV" "JAVA_HOME=${!candidate}"
5656
echo >>"$GITHUB_OUTPUT" java_found=true
5757
elif
58-
candidate="JAVA_HOME_${JAVAVER}_${RUNNER_ARCH,,[A-Z]}"
58+
candidate="JAVA_HOME_${JAVAVER}_$(tr A-Z a-z <<<${RUNNER_ARCH})"
5959
echo -ne 'no\n'"Environment contains $candidate? "
6060
[[ -n ${!candidate+set} ]]
6161
then

0 commit comments

Comments
 (0)