Skip to content

Commit

Permalink
[chore] Cache gradle wrapper on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Oct 7, 2021
1 parent 49aee70 commit 9222da2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ jobs:
java-version: 11
distribution: 'zulu'

#- uses: actions/cache@v2
# with:
# path: ~/.gradle/caches
# key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle') }}-${{ hashFiles('**/gradle.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
#
#- uses: actions/cache@v2
# with:
# path: ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}
# restore-keys: |
# ${{ runner.os }}-gradlew-
- uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle') }}-${{ hashFiles('**/gradle.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/cache@v2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}
restore-keys: |
${{ runner.os }}-gradlew-
- name: Build
run: ./gradlew -Prelease=true build
Expand Down

0 comments on commit 9222da2

Please sign in to comment.