From de16f5f3fab90666fd648fe32481b56765e223b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Me=C3=9Fmer?= Date: Sun, 22 Aug 2021 08:43:46 -0700 Subject: [PATCH] Allow build cache uploads to fail without failing th eCI job --- .github/workflows/main.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5aaef6b8..9ac879b8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -254,6 +254,8 @@ jobs: - name: Save pip cache # note: this access key has write access to the cache. This can't run on PRs. if: ${{github.event_name == 'push' }} + # Cache things sometimes indeterministically fail (roughly 1% of times this is run), let's not fail the job for it + continue-on-error: true uses: leroy-merlin-br/action-s3-cache@8d75079437b388688b9ea9c7d73dff4ef975c5fa # v1.0.5 with: action: put @@ -370,6 +372,8 @@ jobs: - name: Save ccache cache # note: this access key has write access to the cache. This can't run on PRs. if: ${{ github.event_name == 'push' }} + # Cache things sometimes indeterministically fail (roughly 1% of times this is run), let's not fail the job for it + continue-on-error: true uses: leroy-merlin-br/action-s3-cache@8d75079437b388688b9ea9c7d73dff4ef975c5fa # v1.0.5 with: action: put @@ -382,6 +386,8 @@ jobs: - name: Save conan cache # note: this access key has write access to the cache. This can't run on PRs. if: ${{ github.event_name == 'push' }} + # Cache things sometimes indeterministically fail (roughly 1% of times this is run), let's not fail the job for it + continue-on-error: true uses: leroy-merlin-br/action-s3-cache@8d75079437b388688b9ea9c7d73dff4ef975c5fa # v1.0.5 with: action: put @@ -453,6 +459,8 @@ jobs: - name: Save pip cache # note: this access key has write access to the cache. This can't run on PRs. if: ${{github.event_name == 'push' }} + # Cache things sometimes indeterministically fail (roughly 1% of times this is run), let's not fail the job for it + continue-on-error: true uses: leroy-merlin-br/action-s3-cache@8d75079437b388688b9ea9c7d73dff4ef975c5fa # v1.0.5 with: action: put @@ -542,6 +550,8 @@ jobs: # - name: Save ccache cache # # note: this access key has write access to the cache. This can't run on PRs. # if: ${{ github.event_name == 'push' }} + # # Cache things sometimes indeterministically fail (roughly 1% of times this is run), let's not fail the job for it + $ continue-on-error: true # uses: leroy-merlin-br/action-s3-cache@8d75079437b388688b9ea9c7d73dff4ef975c5fa # v1.0.5 # with: # action: put @@ -554,6 +564,8 @@ jobs: - name: Save conan cache # note: this access key has write access to the cache. This can't run on PRs. if: ${{ github.event_name == 'push' }} + # Cache things sometimes indeterministically fail (roughly 1% of times this is run), let's not fail the job for it + continue-on-error: true uses: leroy-merlin-br/action-s3-cache@8d75079437b388688b9ea9c7d73dff4ef975c5fa # v1.0.5 with: action: put