Skip to content

Commit

Permalink
Cache Gradle also on develop branch for GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Jan 24, 2024
1 parent 5b061de commit 56f0902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}

- name: Execute Gradle build
run: ./gradlew check --scan -stacktrace
Expand Down

0 comments on commit 56f0902

Please sign in to comment.