Skip to content

chore(github-actions): Upgrade Gradle build action and add #314

chore(github-actions): Upgrade Gradle build action and add

chore(github-actions): Upgrade Gradle build action and add #314

Workflow file for this run

name: Run Gradle on PRs
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
with:
distribution: corretto
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
with:
cache-read-only: false
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
add-job-summary-as-pr-comment: on-failure
- name: Run build with Gradle wrapper
run: ./gradlew build