Skip to content

Commit

Permalink
add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Jul 20, 2023
1 parent 9794428 commit e75246a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,23 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3

- name: Cache Flutter dependencies
uses: actions/cache@v2
with:
path: |
~/.pub-cache
key: ${{ runner.os }}-pub-cache-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-pub-cache-
- name: Cache Go dependencies
uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
key: ${{ runner.os }}-go-deps-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-deps-
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
Expand Down

0 comments on commit e75246a

Please sign in to comment.