From 79bd37d9125cd9c2c407abecef7d035ed8e21274 Mon Sep 17 00:00:00 2001 From: rory Date: Thu, 8 Jun 2023 15:12:18 -0700 Subject: [PATCH] Remove run_attempt logic for pods as well --- .github/workflows/platformDeploy.yml | 3 +-- .github/workflows/testBuild.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/platformDeploy.yml b/.github/workflows/platformDeploy.yml index a5d203f86c47..bac7ab34920d 100644 --- a/.github/workflows/platformDeploy.yml +++ b/.github/workflows/platformDeploy.yml @@ -159,13 +159,12 @@ jobs: - uses: actions/cache@v3 id: cache-pods - if: github.run_attempt == '1' with: path: ios/Pods key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} - name: Install cocoapods - if: github.run_attempt != '1' || steps.cache-pods.outputs.cache-hit != 'true' + if: steps.cache-pods.outputs.cache-hit != 'true' uses: nick-invision/retry@0711ba3d7808574133d713a0d92d2941be03a350 with: timeout_minutes: 10 diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index e79b2d48cd8d..b75ee2a402e4 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -142,13 +142,12 @@ jobs: - uses: actions/cache@v3 id: cache-pods - if: github.run_attempt == '1' with: path: ios/Pods key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} - name: Install cocoapods - if: github.run_attempt != '1' || steps.cache-pods.outputs.cache-hit != 'true' + if: steps.cache-pods.outputs.cache-hit != 'true' uses: nick-invision/retry@0711ba3d7808574133d713a0d92d2941be03a350 with: timeout_minutes: 10