Commit 04a95b8 1 parent 02a16b5 commit 04a95b8 Copy full SHA for 04a95b8
File tree 1 file changed +19
-6
lines changed
1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 24
24
25
25
strategy :
26
26
matrix :
27
- node_version : [16.x]
28
- os : [ubuntu-latest, windows-latest, macOS-latest]
27
+ node_version : [ 16.x ]
28
+ os : [ ubuntu-latest, windows-latest, macOS-latest ]
29
29
30
30
steps :
31
31
- name : git checkout
63
63
64
64
strategy :
65
65
matrix :
66
- go_version : [1.18.x]
67
- os : [ubuntu-latest, windows-latest, macOS-latest]
66
+ go_version : [ 1.18.x ]
67
+ os : [ ubuntu-latest, windows-latest, macOS-latest ]
68
68
69
69
steps :
70
70
- name : git checkout
84
84
85
85
- name : build backend binary
86
86
run : make build
87
-
87
+
88
88
- name : build CLI binaries
89
89
run : make go-install-cli
90
90
@@ -244,6 +244,19 @@ jobs:
244
244
- name : run check
245
245
run : make itest
246
246
247
+ - name : Zip log files on failure
248
+ if : ${{ failure() }}
249
+ timeout-minutes : 5
250
+ run : 7z a logs-itest.zip itest/**/*.log
251
+
252
+ - name : Upload log files on failure
253
+ uses : actions/upload-artifact@v3
254
+ if : ${{ failure() }}
255
+ with :
256
+ name : logs-itest
257
+ path : logs-itest.zip
258
+ retention-days : 5
259
+
247
260
# #######################
248
261
# check PR updates release notes
249
262
# #######################
@@ -256,4 +269,4 @@ jobs:
256
269
uses : actions/checkout@v3
257
270
258
271
- name : release notes check
259
- run : scripts/check-release-notes.sh
272
+ run : scripts/check-release-notes.sh
You can’t perform that action at this time.
0 commit comments