Skip to content

Commit 84375e8

Browse files
author
archurtan
committed
使用cache缓存gradl dependencies
Change-Id: I7a44bc091b59098d67feeacbfb849bd6a4404b89
1 parent 85a49aa commit 84375e8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/opensource.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@ jobs:
3939
run: |
4040
cmake --version
4141
42+
- name: Cache Gradle packages
43+
uses: actions/cache@v2
44+
with:
45+
path: |
46+
~/.gradle/caches
47+
~/.gradle/wrapper
48+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('../sdk/secring.gpg.asc') }}
49+
restore-keys: |
50+
${{ runner.os }}-build-${{ env.cache-name }}-
51+
${{ runner.os }}-build-
52+
${{ runner.os }}-
53+
4254
- name: install fir
4355
run: sudo gem install fir-cli
4456
- name: Fix App Version

0 commit comments

Comments
 (0)