diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d0e19c7..da25ff3 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -14,19 +14,14 @@ jobs: steps: - name: Git checkout uses: actions/checkout@v4 - - name: Set up JDK + - name: Set up Java uses: actions/setup-java@v4 with: distribution: ${{ matrix.distribution }} # When installing multiple JDKs, the last JDK installed is the default and will be used to run Gradle itself java-version: | 23 - - name: Cache Gradle packages - uses: actions/cache@v4 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} - restore-keys: ${{ runner.os }}-gradle + cache: 'gradle' - name: Install Nix uses: cachix/install-nix-action@v30 with: