Skip to content

Commit

Permalink
GitHub Actions: Limit number of workers
Browse files Browse the repository at this point in the history
  • Loading branch information
mar-v-in committed Jun 5, 2024
1 parent 4d644fb commit 50cead9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
fi
done
- name: "Execute Gradle assemble"
run: "./gradlew --no-daemon assemble"
run: "./gradlew --max-workers 2 assemble"
- name: "Execute Gradle check"
run: "./gradlew --no-daemon check"
run: "./gradlew --max-workers 2 check"
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
android.useAndroidX=true
org.gradle.configuration-cache=true
org.gradle.caching=true
org.gradle.jvmargs=-Xmx2048m -XX:+UseParallelGC --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED

0 comments on commit 50cead9

Please sign in to comment.