Skip to content

Commit

Permalink
fix: reduce globing scope for yarn.lock listing
Browse files Browse the repository at this point in the history
Signed-off-by: aeddi <antoine.e.b@gmail.com>
  • Loading branch information
aeddi committed Oct 14, 2020
1 parent 8c475a5 commit a8de18e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
path: |
js/node_modules
js/packages/*/node_modules
key: ${{ runner.OS }}-node-${{ hashFiles('js/**/yarn.lock') }}
key: ${{ runner.OS }}-node-${{ hashFiles('js/yarn.lock', 'js/packages/*/yarn.lock') }}
restore-keys: ${{ runner.OS }}-node-

- name: Cache Gomobile .aar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
path: |
js/node_modules
js/packages/*/node_modules
key: ${{ runner.OS }}-node-${{ hashFiles('js/**/yarn.lock') }}
key: ${{ runner.OS }}-node-${{ hashFiles('js/yarn.lock', 'js/packages/*/yarn.lock') }}
restore-keys: ${{ runner.OS }}-node-

- name: Cache Ruby modules
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
path: |
js/packages/berty-app/ios/Berty.xcworkspace
js/packages/berty-app/ios/Pods
key: ios-xcodeworkspace-${{ hashFiles('js/packages/berty-app/ios/Podfile.lock', 'js/**/yarn.lock') }}
key: ios-xcodeworkspace-${{ hashFiles('js/packages/berty-app/ios/Podfile.lock', 'js/yarn.lock', 'js/packages/*/yarn.lock') }}
restore-keys: ios-xcodeworkspace-

- name: Setup macOS keychain
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
path: |
js/node_modules
js/packages/*/node_modules
key: ${{ runner.OS }}-node-${{ hashFiles('js/**/yarn.lock') }}
key: ${{ runner.OS }}-node-${{ hashFiles('js/yarn.lock', 'js/packages/*/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-node-
- name: "Fetch deps"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
path: |
js/node_modules
js/packages/*/node_modules
key: ${{ runner.OS }}-genjs-${{ hashFiles('js/**/yarn.lock') }}
key: ${{ runner.OS }}-genjs-${{ hashFiles('js/yarn.lock', 'js/packages/*/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-genjs-
${{ runner.OS }}-
Expand Down

0 comments on commit a8de18e

Please sign in to comment.