Skip to content

Commit

Permalink
cache gradle deps
Browse files Browse the repository at this point in the history
testing github copilot
  • Loading branch information
Poopooracoocoo committed Jan 25, 2024
1 parent c7a0b78 commit 1d654db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Cache Gradle dependencies
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

Expand Down

0 comments on commit 1d654db

Please sign in to comment.