Skip to content

Commit b5e093b

Browse files
author
archurtan
committed
Release CI使用action cache缓存gradle dependencies
Change-Id: I83eb875ea7043d3df195d52ee8d1a620e2e7f626
1 parent 2987404 commit b5e093b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/tencent_official.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ jobs:
3737
- name: Use cmake
3838
run: |
3939
cmake --version
40+
- name: Cache Gradle packages
41+
uses: actions/cache@v2
42+
with:
43+
path: |
44+
~/.gradle/caches
45+
~/.gradle/wrapper
46+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/secring.gpg.asc') }}
47+
restore-keys: |
48+
${{ runner.os }}-build-${{ env.cache-name }}-
49+
${{ runner.os }}-build-
50+
${{ runner.os }}-
4051
- name: Common-->install fir
4152
run: sudo gem install fir-cli
4253

0 commit comments

Comments
 (0)