Skip to content

Commit

Permalink
add gradle_opts to increase mem for build.
Browse files Browse the repository at this point in the history
  • Loading branch information
adarro committed Aug 25, 2024
1 parent 438ad10 commit 904ccbf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sonar_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- master
pull_request:
types: [opened, synchronize, reopened]
env:
GRADLE_OPTS: org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m
permissions: read-all
jobs:
build:
Expand Down Expand Up @@ -35,4 +37,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew build aggregateScoverage sonar --info org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m
run: ./gradlew build aggregateScoverage sonar --info

0 comments on commit 904ccbf

Please sign in to comment.