Skip to content

Commit 1f285ce

Browse files
authored
Fix CI workflow OOM
Don't change the start directory with `-p :build-logic` which makes Gradle look for `build-logic/gradle.properties` file that does not exist. Therefore, the heap size was configured with default values (`-Xmx512m`) which is definitely not enough for our linting. Fixes #1769
1 parent af9631e commit 1f285ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/Build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: yes | sdkmanager --licenses || true
5353

5454
- name: Check build-logic
55-
run: ./gradlew check -p build-logic
55+
run: ./gradlew :build-logic:convention:check
5656

5757
- name: Check spotless
5858
run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache

0 commit comments

Comments
 (0)