Skip to content

Commit

Permalink
WIP test running without gradle cache (by just removing the step)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Dec 2, 2024
1 parent f00ceca commit be47375
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ jobs:
distribution: "temurin"
java-version: "21" # also change jitpack.yml

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
timeout-minutes: 10
with:
# Only write to the cache for builds on the 'main' branches, stops branches evicting main cache
# Builds on other branches will only read from main branch cache writes
# Comment this and the with: above out for performance testing on a branch
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@v4
# timeout-minutes: 10
# with:
# # Only write to the cache for builds on the 'main' branches, stops branches evicting main cache
# # Builds on other branches will only read from main branch cache writes
# # Comment this and the with: above out for performance testing on a branch
# cache-read-only: ${{ github.ref != 'refs/heads/main' }}

- name: Gradle Dependency Download
uses: nick-invision/retry@v3
Expand Down

0 comments on commit be47375

Please sign in to comment.