Skip to content

Commit

Permalink
Update update-gradle-wrapper.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
svenkatrav committed Jan 27, 2022
1 parent 68f760b commit 005274a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/update-gradle-wrapper.yml
Expand Up @@ -17,3 +17,25 @@ jobs:
java-version: 8
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v1
- uses: actions/cache@v1
id: gradle-cache
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/dependency-locks/*.lockfile') }}
restore-keys: |
- ${{ runner.os }}-gradle-
- uses: actions/cache@v1
id: gradle-wrapper-cache
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }}
restore-keys: |
- ${{ runner.os }}-gradlewrapper-
- name: Build with Gradle
run: ./gradlew --info --stacktrace build
env:
CI_NAME: github_actions
CI_BUILD_NUMBER: ${{ github.sha }}
CI_BUILD_URL: 'https://github.com/${{ github.repository }}'
CI_BRANCH: ${{ github.ref }}
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 005274a

Please sign in to comment.