Skip to content

Commit 5d46b4a

Browse files
Update build.yml
1 parent a3f4b35 commit 5d46b4a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,17 @@ jobs:
7474
- uses: subosito/flutter-action@v2
7575
with:
7676
cache: true
77-
7877
- run: flutter pub get
7978
- name: Run altstore-github
8079
run: npx github:randommodderjdk/altstore-github --config web/altstore.template.json > web/altstore.json
81-
80+
81+
- name: Cache npm dependencies
82+
uses: actions/cache@v2
83+
with:
84+
path: '~/.npm'
85+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
86+
restore-keys: |
87+
${{ runner.os }}-node-
8288
# Implement this troguh other action - run: dart run sqflite_common_ffi_web:setup
8389
- name: Deploy
8490
uses: bluefireteam/flutter-gh-pages@v9

0 commit comments

Comments
 (0)