Skip to content

Bump actions/cache from 4.0.2 to 4.2.0 #1195

Bump actions/cache from 4.0.2 to 4.2.0

Bump actions/cache from 4.0.2 to 4.2.0 #1195

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: 11
cache: 'gradle'
- name: print Java version
run: java -version
- name: Cache Gradle packages
uses: actions/[email protected]
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build
run: ./gradlew build --info --stacktrace