From d7293a7924d48d51e40a0440b5a98f927cb30f61 Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Tue, 23 Aug 2022 14:42:32 +0300 Subject: [PATCH] debug wip: testing running sub-command with retry --- .github/workflows/benchmark-dev.yml | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/benchmark-dev.yml b/.github/workflows/benchmark-dev.yml index 41d230c8..20905dcd 100644 --- a/.github/workflows/benchmark-dev.yml +++ b/.github/workflows/benchmark-dev.yml @@ -65,16 +65,23 @@ jobs: - name: Push benchmark results if: github.event_name == 'push' - uses: ./.github/workflows/push-results + uses: nick-fields/retry@v2.7.0 with: - repository: ${{ matrix.benchResultsRepo.name }} - branch: ${{ matrix.benchResultsRepo.branch }} - token: ${{ secrets.BENCH_GITHUB_TOKEN }} - path: "./gh-pages" - bench_name: "${{ matrix.bench.title }} (Windows ${{matrix.arch}})" - bench_tool: "benchmarkluau" - bench_output_file_path: "./${{ matrix.bench.script }}-output.txt" - bench_external_data_json_path: "./gh-pages/dev/bench/data-${{ matrix.os }}.json" + max_attempts: 5 + retry_on: error + retry_wait_seconds: 60 + timeout_minutes: 5 + command: + uses: ./.github/workflows/push-results + with: + repository: ${{ matrix.benchResultsRepo.name }} + branch: ${{ matrix.benchResultsRepo.branch }} + token: ${{ secrets.BENCH_GITHUB_TOKEN }} + path: "./gh-pages" + bench_name: "${{ matrix.bench.title }} (Windows ${{matrix.arch}})" + bench_tool: "benchmarkluau" + bench_output_file_path: "./${{ matrix.bench.script }}-output.txt" + bench_external_data_json_path: "./gh-pages/dev/bench/data-${{ matrix.os }}.json" # unix: # name: ${{matrix.os}}