From 2889e8ace4d43c7be1bca1f9ec49fb61a45808b1 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Thu, 10 Nov 2022 11:10:56 -0700 Subject: [PATCH] Update actions --- .github/workflows/build.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e38ae74..6231d8d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,19 +11,12 @@ jobs: java: [ 17 ] fail-fast: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: JDK ${{ matrix.java }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3.6.0 with: java-version: ${{ matrix.java }} + cache: 'gradle' distribution: 'temurin' - - uses: actions/cache@v2 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- - name: Build run: ./gradlew build --stacktrace