mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Cache gradle files on CI (#952)
This commit is contained in:
parent
e02a7720ab
commit
4eed4c0e03
1 changed files with 13 additions and 0 deletions
13
.github/workflows/run-check.yml
vendored
13
.github/workflows/run-check.yml
vendored
|
@ -22,6 +22,19 @@ jobs:
|
|||
# https://github.community/t/push-from-action-even-with-pat-does-not-trigger-action/17622
|
||||
persist-credentials: false
|
||||
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@27152f6fa06a6b8062ef7195c795692e51fc2c81 #v2.0.0
|
||||
|
||||
- name: Cache Gradle Files
|
||||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-v2-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-v2-
|
||||
|
||||
- name: Configure Ruby
|
||||
uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # v1.165.1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue