Skip to content

Commit 110e975

Browse files
committed
Added cache in web
1 parent 0602777 commit 110e975

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/web.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,21 @@ jobs:
2626
- uses: actions/checkout@v4
2727
with:
2828
path: "app"
29+
30+
- name: Cache pub dependencies
31+
uses: actions/cache@v3
32+
with:
33+
path: |
34+
${{ env.PUB_CACHE }}
35+
app/.dart_tool
36+
key: ${{ runner.os }}-pub-${{ hashFiles('app/**/pubspec.lock') }}
37+
restore-keys: |
38+
${{ runner.os }}-pub-
39+
2940
- uses: oven-sh/setup-bun@v2
41+
with:
42+
cache: true
43+
3044
- name: Setup Pages
3145
uses: actions/configure-pages@v5
3246

0 commit comments

Comments
 (0)