diff --git a/.github/workflows/test-e2e-linux.yml b/.github/workflows/test-e2e-linux.yml index 3a95face8d0..60d774d66c6 100644 --- a/.github/workflows/test-e2e-linux.yml +++ b/.github/workflows/test-e2e-linux.yml @@ -85,8 +85,22 @@ jobs: - name: Cache node_modules, build, extensions, and remote uses: ./.github/actions/cache-multi-paths - - name: Setup Build and Compile + - name: Attempt 1 - Setup Build and Compile uses: ./.github/actions/setup-build-env + continue-on-error: true + + - name: Attempt 2 - Setup Build and Compile + if: ${{ failure() }} + uses: ./.github/actions/setup-build-env + continue-on-error: true + + - name: Attempt 3 - Setup Build and Compile + if: ${{ failure() }} + uses: ./.github/actions/setup-build-env + + - name: Fail if Retries Exhausted + if: ${{ failure() }} + run: exit 1 - name: Install Positron License uses: ./.github/actions/install-license diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index ff607a0e8f9..c498964b166 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -29,8 +29,22 @@ jobs: - name: Cache node_modules, build, extensions, and remote uses: ./.github/actions/cache-multi-paths - - name: Setup Build and Compile + - name: Attempt 1 - Setup Build and Compile uses: ./.github/actions/setup-build-env + continue-on-error: true + + - name: Attempt 2 - Setup Build and Compile + if: ${{ failure() }} + uses: ./.github/actions/setup-build-env + continue-on-error: true + + - name: Attempt 3 - Setup Build and Compile + if: ${{ failure() }} + uses: ./.github/actions/setup-build-env + + - name: Fail if Retries Exhausted + if: ${{ failure() }} + run: exit 1 - name: Install Positron License uses: ./.github/actions/install-license diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 4a20d264e19..477cec0d85f 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -29,8 +29,22 @@ jobs: - name: Cache node_modules, build, extensions, and remote uses: ./.github/actions/cache-multi-paths - - name: Setup Build and Compile + - name: Attempt 1 - Setup Build and Compile uses: ./.github/actions/setup-build-env + continue-on-error: true + + - name: Attempt 2 - Setup Build and Compile + if: ${{ failure() }} + uses: ./.github/actions/setup-build-env + continue-on-error: true + + - name: Attempt 3 - Setup Build and Compile + if: ${{ failure() }} + uses: ./.github/actions/setup-build-env + + - name: Fail if Retries Exhausted + if: ${{ failure() }} + run: exit 1 - name: Install Positron License uses: ./.github/actions/install-license