From b99636b3488160addb032b8df34c3cc85bc15657 Mon Sep 17 00:00:00 2001 From: ASuciuX Date: Fri, 1 Dec 2023 06:16:43 +0200 Subject: [PATCH] feat: added retry to save cache --- .github/workflows/mutants.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mutants.yml b/.github/workflows/mutants.yml index 41cae6a2f9..bb5df6b4bc 100644 --- a/.github/workflows/mutants.yml +++ b/.github/workflows/mutants.yml @@ -82,11 +82,20 @@ jobs: - name: outshow new cached file run: cat missed.txt working-directory: mutation-testing/packages-output/pox-locking - - name: Cache mutants-initial folder - uses: actions/cache/save@v3 + # - name: Cache mutants-initial folder + # uses: actions/cache/save@v3 + # with: + # path: mutation-testing/packages-output + # key: mutants-stable-develop + - name: Save Cache + uses: Wandalen/wretry.action@a163f62ae554a8f3cbe27b23db15b60c0ae2e93c # v1.3.0 with: - path: mutation-testing/packages-output - key: mutants-stable-develop + action: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + with: | + path: mutation-testing/packages-output + key: mutants-stable-develop + attempt_limit: 5 + attempt_delay: 3000 # # Upload stable output version # stable-mutants: