Skip to content

Commit c3c9028

Browse files
dwsuseigaw
authored andcommitted
build: Upload all log files on failure
Signed-off-by: Daniel Wagner <[email protected]>
1 parent 83069d1 commit c3c9028

1 file changed

Lines changed: 27 additions & 18 deletions

File tree

.github/workflows/build.yml

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ jobs:
3131
- uses: actions/upload-artifact@v3
3232
if: failure()
3333
with:
34-
name: gcc debug build logs
35-
path: build/meson-logs/meson-log.txt
34+
name: logs files
35+
path: |
36+
build/meson-logs/*.txt
3637
3738
gcc-release:
3839
name: gcc release
@@ -56,8 +57,9 @@ jobs:
5657
- uses: actions/upload-artifact@v3
5758
if: failure()
5859
with:
59-
name: gcc debug build log
60-
path: build/meson-logs/meson-log.txt
60+
name: log files
61+
path: |
62+
build/meson-logs/*.txt
6163
6264
clang-release:
6365
name: clang release
@@ -82,8 +84,9 @@ jobs:
8284
- uses: actions/upload-artifact@v3
8385
if: failure()
8486
with:
85-
name: gcc debug build log
86-
path: build/meson-logs/meson-log.txt
87+
name: log files
88+
path: |
89+
build/meson-logs/*.txt
8790
8891
fallback-shared-libraries:
8992
name: fallback shared libraries
@@ -109,8 +112,9 @@ jobs:
109112
- uses: actions/upload-artifact@v3
110113
if: failure()
111114
with:
112-
name: fallback shared libraries build log
113-
path: build/meson-logs/meson-log.txt
115+
name: log files
116+
path: |
117+
build/meson-logs/*.txt
114118
115119
fallback-static-libraries:
116120
name: fallback static libraries
@@ -137,8 +141,9 @@ jobs:
137141
- uses: actions/upload-artifact@v3
138142
if: failure()
139143
with:
140-
name: fallback static libraries build log
141-
path: build/meson-logs/meson-log.txt
144+
name: log files
145+
path: |
146+
build/meson-logs/*.txt
142147
143148
fallback-all-static:
144149
name: fallback all static
@@ -166,8 +171,9 @@ jobs:
166171
- uses: actions/upload-artifact@v3
167172
if: failure()
168173
with:
169-
name: fallback all static build log
170-
path: build/meson-logs/meson-log.txt
174+
name: log files
175+
path: |
176+
build/meson-logs/*.txt
171177
172178
cross-armhf:
173179
name: cross armhf
@@ -201,8 +207,9 @@ jobs:
201207
- uses: actions/upload-artifact@v3
202208
if: failure()
203209
with:
204-
name: cross armhf build log
205-
path: build/meson-logs/meson-log.txt
210+
name: log files
211+
path: |
212+
build/meson-logs/*.txt
206213
207214
cross-ppc64le:
208215
name: cross ppc64le
@@ -236,8 +243,9 @@ jobs:
236243
- uses: actions/upload-artifact@v3
237244
if: failure()
238245
with:
239-
name: cross ppc64le build log
240-
path: build/meson-logs/meson-log.txt
246+
name: log files
247+
path: |
248+
build/meson-logs/*.txt
241249
242250
cross-s390x:
243251
name: cross s390x
@@ -271,8 +279,9 @@ jobs:
271279
- uses: actions/upload-artifact@v3
272280
if: failure()
273281
with:
274-
name: cross s390x build log
275-
path: build/meson-logs/meson-log.txt
282+
name: log files
283+
path: |
284+
build/meson-logs/*.txt
276285
277286
build-muon:
278287
name: muon minimal

0 commit comments

Comments
 (0)