Skip to content

Commit e23ca59

Browse files
committed
chore: comment out node_modules caching in publish-sample.yml
1 parent 87ad41e commit e23ca59

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/publish-sample.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,27 @@ jobs:
4949
id: yarn-lock-hash
5050
run: echo "hash=${{ hashFiles('**/yarn.lock') }}" >> $GITHUB_OUTPUT
5151

52-
# - name: Cache node_modules
53-
# id: yarn-cache
54-
# uses: actions/cache@v4
55-
# with:
56-
# path: ${{ env.CACHE_NODE_MODULES_PATH }}
57-
# key: ${{ runner.os }}-yarn-${{ steps.yarn-lock-hash.outputs.hash }}
58-
# restore-keys: |
59-
# ${{ runner.os }}-yarn-
52+
- name: Cache node_modules
53+
id: yarn-cache
54+
uses: actions/cache@v4
55+
with:
56+
path: ${{ env.CACHE_NODE_MODULES_PATH }}
57+
key: ${{ runner.os }}-yarn-${{ steps.yarn-lock-hash.outputs.hash }}
58+
restore-keys: |
59+
${{ runner.os }}-yarn-
6060
6161
- name: Install dependencies
6262
if: steps.yarn-cache.outputs.cache-hit != 'true'
6363
run: yarn install --frozen-lockfile
6464

65-
# - name: Cache CocoaPods
66-
# id: cocoapods-cache
67-
# uses: actions/cache@v4
68-
# with:
69-
# path: sample/ios/Pods
70-
# key: ${{ runner.os }}-pods-${{ hashFiles('sample/ios/Podfile.lock') }}
71-
# restore-keys: |
72-
# ${{ runner.os }}-pods-
65+
- name: Cache CocoaPods
66+
id: cocoapods-cache
67+
uses: actions/cache@v4
68+
with:
69+
path: sample/ios/Pods
70+
key: ${{ runner.os }}-pods-${{ hashFiles('sample/ios/Podfile.lock') }}
71+
restore-keys: |
72+
${{ runner.os }}-pods-
7373
7474
- name: Install CocoaPods
7575
if: steps.cocoapods-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)