@@ -109,7 +109,7 @@ jobs:
109
109
110
110
- name : Upload Tests Results
111
111
uses : actions/upload-artifact@v3
112
- if : ${{ success() || failure() }}
112
+ if : success() || failure()
113
113
with :
114
114
name : test-results${{ matrix.artifact-suffix }}-${{ runner.os }}-${{ runner.arch }}
115
115
path : |
@@ -135,7 +135,7 @@ jobs:
135
135
key : ${{ runner.os }}-cache-v${{ secrets.CACHE_VERSION }}
136
136
137
137
- name : Install cargo tools
138
- if : ${{ steps.cargo-cache.outputs.cache-hit == false }}
138
+ if : steps.cargo-cache.outputs.cache-hit == false
139
139
shell : bash
140
140
run : |
141
141
cargo install cargo-sort 2>/dev/null || true # Suppress the "binary `xyz` already exists in destination" error
@@ -207,37 +207,37 @@ jobs:
207
207
if-no-files-found : error
208
208
209
209
publish-tests-results :
210
- if : ${{ success() || failure() }}
210
+ if : success() || failure()
211
211
runs-on : ubuntu-22.04
212
212
needs :
213
213
- test
214
214
steps :
215
215
- name : Download Tests Results (${{ runner.os }}-${{ runner.arch }})
216
- if : ${{ success() || failure() }}
216
+ if : success() || failure()
217
217
uses : actions/download-artifact@v3
218
218
with :
219
219
name : test-results-${{ runner.os }}-${{ runner.arch }}
220
220
221
221
- name : Download mithril-core Tests Results (${{ runner.os }}-${{ runner.arch }})
222
- if : ${{ success() || failure() }}
222
+ if : success() || failure()
223
223
uses : actions/download-artifact@v3
224
224
with :
225
225
name : test-results-mithril-core-${{ runner.os }}-${{ runner.arch }}
226
226
227
227
- name : Download Tests Results (macOS-X64)
228
- if : ${{ success() || failure() }}
228
+ if : success() || failure()
229
229
uses : actions/download-artifact@v3
230
230
with :
231
231
name : test-results-macOS-X64
232
232
233
233
- name : Download Tests Results (Windows-X64)
234
- if : ${{ success() || failure() }}
234
+ if : success() || failure()
235
235
uses : actions/download-artifact@v3
236
236
with :
237
237
name : test-results-Windows-X64
238
238
239
239
- name : Publish Unit Test Results
240
- if : ${{ success() || failure() }}
240
+ if : success() || failure()
241
241
uses : EnricoMi/publish-unit-test-result-action@v1
242
242
with :
243
243
files : ./**/test-results-*.xml
0 commit comments