Skip to content

Commit 43884d1

Browse files
committed
chore: remove node_modules and CocoaPods caching from publish-sample.yml
1 parent 32d6e33 commit 43884d1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/publish-sample.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,30 +45,10 @@ jobs:
4545
ruby-version: '3.1'
4646
bundler-cache: true
4747

48-
- name: Get yarn lockfile hash
49-
id: yarn-lock-hash
50-
run: echo "hash=${{ hashFiles('**/yarn.lock') }}" >> $GITHUB_OUTPUT
51-
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-
5948
- name: Install dependencies
60-
if: steps.yarn-cache.outputs.cache-hit != 'true'
6149
run: yarn install --frozen-lockfile
6250

63-
- name: Cache CocoaPods
64-
id: cocoapods-cache
65-
uses: actions/cache@v4
66-
with:
67-
path: sample/ios/Pods
68-
key: ${{ runner.os }}-pods-${{ hashFiles('sample/ios/Podfile.lock') }}
69-
7051
- name: Install CocoaPods
71-
if: steps.cocoapods-cache.outputs.cache-hit != 'true'
7252
working-directory: sample/ios
7353
run: bundle exec pod install
7454

0 commit comments

Comments
 (0)