Skip to content

Commit

Permalink
Add some debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
keeganwitt committed Apr 4, 2024
1 parent 5696672 commit f63e23a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ jobs:
expectedGradleVersion: "8.7"
run: |
toolchainJavaVersion=$(echo "${version}" | grep --extended-regex --only-matching '[0-9]+-' | sed 's/-//')
echo "toolchainJavaVersion=${toolchainJavaVersion}"
if [[ "${version}" =~ "graal" ]]; then
cd test-graal
sed --regexp-extended --in-place "s/JavaLanguageVersion.of([0-9]+])/JavaLanguageVersion.of(${toolchainJavaVersion})/" app/build.gradle
cat app/build.gradle
else
cd test
sed --regexp-extended --in-place "s/JavaLanguageVersion.of([0-9]+])/JavaLanguageVersion.of(${toolchainJavaVersion})/" lib/build.gradle.kts
cat lib/build.gradle.kts
fi
./run.sh "gradle:${version}" "${expectedGradleVersion}"

0 comments on commit f63e23a

Please sign in to comment.