From 9eceb99e7cbdb3919f6c28666ed1a6c73fcfd58d Mon Sep 17 00:00:00 2001 From: Aaron Steinfeld Date: Wed, 7 May 2025 09:59:34 -0400 Subject: [PATCH 1/2] ci: update gradle action to v4 to restore caching --- gradle/action.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gradle/action.yml b/gradle/action.yml index 9271c34..76ee35a 100644 --- a/gradle/action.yml +++ b/gradle/action.yml @@ -12,12 +12,19 @@ inputs: description: 'max heap to allocate to gradle' required: true default: '6g' + gradle-executable: + description: 'gradle wrapper executable' + required: true + default: './gradlew' runs: using: "composite" - steps: - - uses: gradle/gradle-build-action@v2 - with: - arguments: | + steps: + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + - name: Execute Gradle Command + shell: bash + run: | + ${{ inputs.gradle-executable }} --info --max-workers=${{ inputs.max-workers }} -Dorg.gradle.jvmargs=-Xmx${{ inputs.max-heap }} From 67a798592707f67fa82cfde1c10bcb5dc69df9a0 Mon Sep 17 00:00:00 2001 From: Aaron Steinfeld Date: Wed, 7 May 2025 10:02:57 -0400 Subject: [PATCH 2/2] ci: update runner --- .github/workflows/validate-workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-workflows.yml b/.github/workflows/validate-workflows.yml index 7c88333..4ac22b1 100644 --- a/.github/workflows/validate-workflows.yml +++ b/.github/workflows/validate-workflows.yml @@ -8,7 +8,7 @@ on: jobs: validate: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout local repository