File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 93
93
cmake --preset multi
94
94
-Dffilesystem_cpp:BOOL=${{ matrix.cpp }}
95
95
96
- - name : print config log
97
- if : ${{ failure() }}
98
- run : cat build/CMakeFiles/CMakeConfigureLog.yaml
96
+ - name : Upload log failure
97
+ if : failure()
98
+ uses : actions/upload-artifact@v4
99
+ with :
100
+ name : cpp-${{ matrix.cpp-std }}-${{ matrix.cpp }}-shared-${{ matrix.shared }}-${{ runner.os }}-CMakeConfigureLog.yaml
101
+ path : build/CMakeFiles/CMakeConfigureLog.yaml
99
102
100
103
- name : Debug workflow
101
104
run : cmake --workflow debug
Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ runs:
14
14
-DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
15
15
-DCMAKE_CXX_STANDARD=${{ matrix.cpp-std }}
16
16
17
- - name : log if fail
18
- shell : bash
17
+ - name : Upload log failure
19
18
if : failure()
20
- run : cat build/CMakeFiles/CMakeConfigureLog.yaml
19
+ uses : actions/upload-artifact@v4
20
+ with :
21
+ name : cpp-${{ matrix.cpp-std }}-${{ matrix.cpp }}-shared-${{ matrix.shared }}-${{ runner.os }}-CMakeConfigureLog.yaml
22
+ path : build/CMakeFiles/CMakeConfigureLog.yaml
21
23
22
24
- name : Debug workflow
23
25
shell : bash
Original file line number Diff line number Diff line change 64
64
cmake --preset default
65
65
-Dffilesystem_cpp:BOOL=${{ matrix.cpp }}
66
66
67
- - name : print config log
68
- if : ${{ failure() }}
69
- run : cat build/CMakeFiles/CMakeConfigureLog.yaml
67
+ - name : Upload log failure
68
+ if : failure()
69
+ uses : actions/upload-artifact@v4
70
+ with :
71
+ name : ${{ env.CXX }}-cpp-${{ matrix.cpp }}-${{ runner.os }}-CMakeConfigureLog.yaml
72
+ path : build/CMakeFiles/CMakeConfigureLog.yaml
70
73
71
74
- name : Release workflow
72
75
run : cmake --workflow default
You can’t perform that action at this time.
0 commit comments