Skip to content

Commit ce3bd39

Browse files
authored
[ci] Upgrade actions/cache to v3 (#294)
1 parent e534a7c commit ce3bd39

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ jobs:
4141
path: src/flutter
4242
fetch-depth: 0
4343

44+
- uses: actions/cache@v3
45+
with:
46+
path: src/out/${{ env.OUTPUT_NAME }}
47+
key: out-build-${{ env.OUTPUT_NAME }}-${{ github.sha }}
48+
restore-keys: |
49+
out-build-${{ env.OUTPUT_NAME }}-
50+
4451
- name: gclient sync
4552
run: |
4653
src/flutter/ci/tizen/gclient-prepare-sync.sh --reduce-deps --shallow-sync
@@ -195,6 +202,13 @@ jobs:
195202
with:
196203
path: src/flutter
197204

205+
- uses: actions/cache@v3
206+
with:
207+
path: src/out/${{ env.OUTPUT_NAME }}
208+
key: out-macos-build-${{ env.OUTPUT_NAME }}-${{ github.sha }}
209+
restore-keys: |
210+
out-macos-build-${{ env.OUTPUT_NAME }}-
211+
198212
- name: install depot_tools
199213
run: |
200214
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

0 commit comments

Comments
 (0)