Fix check

This commit is contained in:
daz 2023-08-19 20:31:33 -06:00
parent ff3f4cfbf8
commit 800e5e1e62
No known key found for this signature in database

View File

@ -103,4 +103,11 @@ jobs:
shell: bash
run: |
cat ~/.gradle/gradle.properties
grep -q 'org.gradle.java.installations.fromEnv=JAVA_HOME' && exit 1
if grep -q 'org.gradle.java.installations.fromEnv=JAVA_HOME' ~/.gradle/gradle.properties ; then
echo 'Found overwritten fromEnv'
exit 1
fi
if ! grep -q 'org.gradle.java.installations.fromEnv=XXXXX' ~/.gradle/gradle.properties ; then
echo 'Did NOT find original fromEnv'
exit 1
fi