From 3d05022bbdac41c486c958c5baba7e32de1e7970 Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Fri, 19 Jul 2024 11:34:06 -0400 Subject: [PATCH] Add retry to bootstrap for windows related workflows Signed-off-by: Derek Ho --- .github/workflows/integration-test.yml | 7 ++++--- .github/workflows/unit-test.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 477c3da03..d987150a5 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -77,10 +77,11 @@ jobs: sudo rm -rf /usr/share/dotnet sudo rm -rf "$AGENT_TOOLSDIRECTORY" - - id: install-dashboards - uses: derek-ho/setup-opensearch-dashboards@v1 + - uses: Wandalen/wretry.action@v3.3.0 with: - plugin_name: security-dashboards-plugin + action: derek-ho/setup-opensearch-dashboards@v1 + with: | + plugin_name: security-dashboards-plugin - name: Start Dashboards in background run: node scripts/build_opensearch_dashboards_platform_plugins.js diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index e1d744266..32d54f05d 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -19,10 +19,11 @@ jobs: - name: Checkout Branch uses: actions/checkout@v2 - - id: install-dashboards - uses: derek-ho/setup-opensearch-dashboards@v1 + - uses: Wandalen/wretry.action@v3.3.0 with: - plugin_name: security-dashboards-plugin + action: derek-ho/setup-opensearch-dashboards@v1 + with: | + plugin_name: security-dashboards-plugin - name: Run lint run: yarn lint