diff --git a/.github/workflows/build-cli-native-archives.yml b/.github/workflows/build-cli-native-archives.yml index 22dde6ad906..92fb1ba77c8 100644 --- a/.github/workflows/build-cli-native-archives.yml +++ b/.github/workflows/build-cli-native-archives.yml @@ -25,6 +25,12 @@ on: {"os": "macos-latest", "runner": "macos-latest", "rids": "osx-arm64"} ] +env: + # Arcade sets NuGet's enhanced retry defaults to 6 tries with a 1s base delay in CI; these + # restore-heavy jobs need more room to retry individual package downloads without rerunning. + NUGET_ENHANCED_MAX_NETWORK_TRY_COUNT: 10 + NUGET_ENHANCED_NETWORK_RETRY_DELAY_MILLISECONDS: 2000 + jobs: build_cli_archives: diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index cee838ba1c8..5d2500bea4f 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -7,6 +7,12 @@ on: required: false type: string +env: + # Arcade sets NuGet's enhanced retry defaults to 6 tries with a 1s base delay in CI; these + # restore-heavy jobs need more room to retry individual package downloads without rerunning. + NUGET_ENHANCED_MAX_NETWORK_TRY_COUNT: 10 + NUGET_ENHANCED_NETWORK_RETRY_DELAY_MILLISECONDS: 2000 + jobs: build_packages: name: Build packages @@ -39,4 +45,3 @@ jobs: name: build_packages_logs path: artifacts/log retention-days: 5 - diff --git a/.github/workflows/deployment-tests.yml b/.github/workflows/deployment-tests.yml index 45d1a02ae3c..2ae166169c4 100644 --- a/.github/workflows/deployment-tests.yml +++ b/.github/workflows/deployment-tests.yml @@ -12,6 +12,12 @@ # name: Deployment E2E Tests +env: + # Arcade sets NuGet's enhanced retry defaults to 6 tries with a 1s base delay in CI; these + # restore-heavy jobs need more room to retry individual package downloads without rerunning. + NUGET_ENHANCED_MAX_NETWORK_TRY_COUNT: 10 + NUGET_ENHANCED_NETWORK_RETRY_DELAY_MILLISECONDS: 2000 + on: workflow_dispatch: inputs: @@ -95,7 +101,7 @@ jobs: - name: Build solution and pack CLI run: | - # Build the full solution and pack CLI for local testing + # Build the full solution and pack CLI for local testing. ./build.sh --build --pack -c Release env: # Skip native build to save time - we'll use the non-native CLI @@ -286,6 +292,7 @@ jobs: - name: Upload test results if: always() + continue-on-error: true uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: deployment-test-results-${{ matrix.shortname }} @@ -295,6 +302,7 @@ jobs: - name: Upload recordings if: always() + continue-on-error: true uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: deployment-test-recordings-${{ matrix.shortname }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f295648f7aa..a6834d0c990 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -642,6 +642,7 @@ jobs: - name: Upload logs, and test results id: upload-logs if: always() + continue-on-error: true uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: logs-${{ inputs.testShortName }}-${{ inputs.os }} diff --git a/.github/workflows/specialized-test-runner.yml b/.github/workflows/specialized-test-runner.yml index a44145b212e..517b17562a0 100644 --- a/.github/workflows/specialized-test-runner.yml +++ b/.github/workflows/specialized-test-runner.yml @@ -118,6 +118,7 @@ jobs: - name: Upload logs, and test results if: ${{ always() }} + continue-on-error: true uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: logs-runsheet diff --git a/.github/workflows/tests-daily-smoke.yml b/.github/workflows/tests-daily-smoke.yml index 62c86da7cf0..6d1c5c2f88c 100644 --- a/.github/workflows/tests-daily-smoke.yml +++ b/.github/workflows/tests-daily-smoke.yml @@ -91,6 +91,7 @@ jobs: - name: Upload logs and test results id: upload-logs if: always() + continue-on-error: true uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: smoke-test-results-${{ inputs.quality || 'dev' }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0e07409471b..ab6db24d626 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -403,6 +403,7 @@ jobs: - name: Upload test results if: always() + continue-on-error: true uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: name: All-TestResults