From 045c7985777d8e299d8ad4309708cf2d6d396c62 Mon Sep 17 00:00:00 2001 From: zubri Date: Mon, 6 Jan 2025 22:24:18 -0300 Subject: [PATCH] GitHub action, gradlew with jvm args --- .github/workflows/gradle.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 1eb6e9070..7c750b3ab 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -41,19 +41,7 @@ jobs: uses: gradle/actions/setup-gradle@v4 - name: Build with Gradle Wrapper - env: - GRADLE_OPTS: "-Xms512m -Xmx7g" - run: ./gradlew :model-common-types:compileJava - - - name: Build with Gradle Wrapper - env: - GRADLE_OPTS: "-Xms512m -Xmx7g" - run: ./gradlew compileJava - - - name: Build with Gradle Wrapper - env: - GRADLE_OPTS: "-Xms512m -Xmx7g" - run: ./gradlew build + run: ./gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx7g" build # This job generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies. # We only do it for the SRU2024_v10 branch to avoid spamming the Dependabot alerts for the legacy Java 8 code.