Skip to content

Commit 7e43294

Browse files
committed
fix cache warmup
1 parent 46187b8 commit 7e43294

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ runs:
118118
docker load -i ${{ steps.cachedir.outputs.cachedir }}/docker-images.tar
119119
120120
- name: "Generate dummy kurtosis config"
121-
if: ${{ inputs.warmup_cache == 'true' && steps.cache.outputs.cache-hit == '' }}
121+
if: ${{ inputs.warmup_cache == 'true' && steps.cache.outputs.cache-hit != 'true' }}
122122
id: warmup
123123
shell: bash
124124
run: |
@@ -128,7 +128,7 @@ runs:
128128
echo "tempdir=$tempdir" >> $GITHUB_OUTPUT
129129
130130
- name: Run kurtosis testnet for cache warmup
131-
if: ${{ inputs.warmup_cache == 'true' && steps.cache.outputs.cache-hit == '' }}
131+
if: ${{ inputs.warmup_cache == 'true' && steps.cache.outputs.cache-hit != 'true' }}
132132
continue-on-error: true
133133
id: testnet
134134
uses: ethpandaops/kurtosis-assertoor-github-action@5932604b244dbd2ddb811516b516a9094f4d2c2f # v1
@@ -144,7 +144,7 @@ runs:
144144
enclave_dump: "false"
145145

146146
- name: "Cache docker images"
147-
if: ${{ inputs.warmup_cache == 'true' && steps.cache.outputs.cache-hit == '' }}
147+
if: ${{ inputs.warmup_cache == 'true' && steps.cache.outputs.cache-hit != 'true' }}
148148
shell: bash
149149
run: |
150150
cachedir="${{ steps.cachedir.outputs.cachedir }}"

0 commit comments

Comments
 (0)