workflows: don't use cache on release tag

This commit is contained in:
selsta
2021-05-13 20:02:48 +02:00
parent 937cb98256
commit afb88ff511

View File

@@ -96,6 +96,7 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- uses: satackey/action-docker-layer-caching@v0.0.10 - uses: satackey/action-docker-layer-caching@v0.0.10
if: "!startsWith(github.ref, 'refs/tags/v')"
continue-on-error: true continue-on-error: true
with: with:
key: docker-linux-static-{hash} key: docker-linux-static-{hash}
@@ -125,6 +126,7 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- uses: satackey/action-docker-layer-caching@v0.0.10 - uses: satackey/action-docker-layer-caching@v0.0.10
if: "!startsWith(github.ref, 'refs/tags/v')"
continue-on-error: true continue-on-error: true
with: with:
key: docker-windows-static-{hash} key: docker-windows-static-{hash}