Skip to content

Commit

Permalink
Add setup-gradle to actions to cache gradle and its dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tginsberg committed Aug 17, 2024
1 parent 129991e commit dc5ab58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
distribution: 'temurin'
cache: 'gradle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build and Publish
run: ./gradlew build publish --no-daemon
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
distribution: 'temurin'
cache: 'gradle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build
run: ./gradlew build --no-daemon

Expand Down

0 comments on commit dc5ab58

Please sign in to comment.