From afb88ff511dfb9e545935aecdca37cf732bfb724 Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 13 May 2021 20:02:48 +0200 Subject: [PATCH] workflows: don't use cache on release tag --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbbeaed8..6d32f579 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -96,6 +96,7 @@ jobs: with: submodules: recursive - uses: satackey/action-docker-layer-caching@v0.0.10 + if: "!startsWith(github.ref, 'refs/tags/v')" continue-on-error: true with: key: docker-linux-static-{hash} @@ -125,6 +126,7 @@ jobs: with: submodules: recursive - uses: satackey/action-docker-layer-caching@v0.0.10 + if: "!startsWith(github.ref, 'refs/tags/v')" continue-on-error: true with: key: docker-windows-static-{hash}