From abc89a20fa7fb4293771a342aba6705e787bcf81 Mon Sep 17 00:00:00 2001 From: Lars Lubkoll <11710767+lubkoll@users.noreply.github.com> Date: Mon, 26 Aug 2024 09:14:36 +0000 Subject: [PATCH] Improve if condition for storing cache --- .github/workflows/all_checks_osmosis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/all_checks_osmosis.yml b/.github/workflows/all_checks_osmosis.yml index b4b501107..02d860e5b 100644 --- a/.github/workflows/all_checks_osmosis.yml +++ b/.github/workflows/all_checks_osmosis.yml @@ -79,7 +79,7 @@ jobs: PROPTEST_CASES: 10 working-directory: smart-contracts/osmosis/contracts/cl-vault - name: Store dependencies - if: ${{ (inputs.store_deps == 'true') && (steps.restore-cache.outputs.cache-hit == 'false') }}$ + if: inputs.store_deps && !(steps.restore-cache.outputs.cache-hit == 'false') uses: actions/cache/save@v4 with: path: |