File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -120,11 +120,6 @@ jobs:
120
120
chmod +x docker/action-scripts/build-utbot.sh
121
121
./docker/action-scripts/build-utbot.sh
122
122
123
- - name : Generate tests
124
- run : |
125
- chmod +x docker/action-scripts/generate-tests.sh
126
- ./docker/action-scripts/generate-tests.sh
127
-
128
123
- name : Cache generated tests
129
124
id : cache-generated-tests
130
125
uses : actions/cache@v3
@@ -133,6 +128,12 @@ jobs:
133
128
./integration-tests/c-example
134
129
key : key
135
130
131
+ - name : Generate tests
132
+ if : steps.cache-generated-tests.outputs.cache-hit != 'true'
133
+ run : |
134
+ chmod +x docker/action-scripts/generate-tests.sh
135
+ ./docker/action-scripts/generate-tests.sh
136
+
136
137
build-portable-container :
137
138
needs : build-utbot-and-generate-test
138
139
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments