From 16b76b6404539dc915948eab9efd7736bcc6e451 Mon Sep 17 00:00:00 2001 From: Pat Losoponkul Date: Thu, 16 Nov 2023 17:11:55 +0700 Subject: [PATCH] chore: use java_tool_options to set JVM options Signed-off-by: Pat Losoponkul --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11e79ff346..ddcca98eb5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} # New JDK version makes 'localhost' lookup on linux return ipv6. # Our test containers are on ipv4. We need to make 'localhost' resolve to ipv4. - _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true + JAVA_TOOL_OPTIONS: -Djava.net.preferIPv4Stack=true runs-on: ubuntu-latest steps: - uses: actions/checkout@v3