Skip to content

Commit 217b649

Browse files
committed
chore: comment out node_modules caching in publish-sample.yml
1 parent 6e821e2 commit 217b649

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/publish-sample.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,12 @@ jobs:
6767
uses: actions/cache@v4
6868
with:
6969
path: sample/ios/Pods
70-
key: ${{ runner.os }}-pods-${{ hashFiles('sample/ios/Podfile.lock') }}-${{ steps.setup-xcode.outputs.version }}
70+
key: ${{ runner.os }}-pods-${{ hashFiles('sample/ios/Podfile.lock') }}
7171

7272
- name: Install CocoaPods
73-
if: steps.cocoapods-cache.outputs.cache-hit != 'true' || env.PODS_CACHE_INVALID == 'true'
73+
if: steps.cocoapods-cache.outputs.cache-hit != 'true'
7474
working-directory: sample/ios
75-
run: |
76-
if [ "$PODS_CACHE_INVALID" == "true" ]; then
77-
echo "🧹 Cleaning invalid cache and reinstalling pods..."
78-
rm -rf Pods
79-
fi
80-
bundle exec pod install
75+
run: bundle exec pod install
8176

8277
- name: Create env.ts
8378
env:

0 commit comments

Comments
 (0)