diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf158f77..96f5b96b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,7 +49,7 @@ jobs: - name: Install Dependencies run: | - if [ ! -d "Pods" ]; then + if [ ! -d "Pods" ] || [ ! -f "Pods/Manifest.lock" ] || ! cmp -s "Podfile.lock" "Pods/Manifest.lock"; then pod install --repo-update else echo "Using cached Pods" @@ -134,7 +134,7 @@ jobs: - name: Install Dependencies run: | - if [ ! -d "Pods" ]; then + if [ ! -d "Pods" ] || [ ! -f "Pods/Manifest.lock" ] || ! cmp -s "Podfile.lock" "Pods/Manifest.lock"; then pod install --repo-update else echo "Using cached Pods"