Skip to content

Commit f718e57

Browse files
committed
Add cache-hit condition to patch steps to prevent errors when cache is restored
1 parent 1cd62a5 commit f718e57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/L1-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ jobs:
150150
ref: v1.15.0
151151

152152
- name: Apply patches ThunderTools
153+
if: steps.cache.outputs.cache-hit != 'true'
153154
run: |
154155
cd $GITHUB_WORKSPACE/ThunderTools
155156
patch -p1 < $GITHUB_WORKSPACE/entservices-testframework/patches/00010-R4.4-Add-support-for-project-dir.patch
@@ -171,6 +172,7 @@ jobs:
171172
cmake --install build/ThunderTools
172173
173174
- name: Apply patches Thunder
175+
if: steps.cache.outputs.cache-hit != 'true'
174176
run: |
175177
cd $GITHUB_WORKSPACE/Thunder
176178
patch -p1 < $GITHUB_WORKSPACE/entservices-testframework/patches/Use_Legact_Alt_Based_On_ThunderTools_R4.4.3.patch

0 commit comments

Comments
 (0)