Skip to content

Commit

Permalink
Update gradle-build.yml / gradle-build-action
Browse files Browse the repository at this point in the history
This hopefully improves the issue with builds failing with an OOME, which might be related to gradle/gradle#23215, which could be solved with gradle 8.3 (used by the new gradle-build-action according to gradle/gradle-build-action@v2.7.1...v2.8.0).

(cherry picked from commit a7c4161)
  • Loading branch information
magro committed Sep 20, 2023
1 parent 1aaa698 commit 56938e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle-build.yml
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build
uses: gradle/gradle-build-action@v2.7.1
uses: gradle/gradle-build-action@v2.8.0
with:
arguments: build -Porg.gradle.jvmargs=-Xmx2048m

Expand All @@ -49,7 +49,7 @@ jobs:
distribution: 'temurin'
cache: 'gradle'
- name: Publish
uses: gradle/gradle-build-action@v2.7.1
uses: gradle/gradle-build-action@v2.8.0
env:
# variables used by build.gradle.kts for signing / publishing (without 'ORG_GRADLE_PROJECT_' prefix)
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
Expand Down

0 comments on commit 56938e0

Please sign in to comment.