@@ -28,18 +28,21 @@ jobs:
2828 name : " Ubuntu Latest gcc" ,
2929 os : ubuntu-latest,
3030 cmake-preset : gcc-release,
31+ artifacts-type : " gcc" ,
3132 artifacts-path : " "
3233 }
3334 - {
3435 name : " Ubuntu Latest clang" ,
3536 os : ubuntu-latest,
3637 cmake-preset : clang-release,
38+ artifacts-type : " clang" ,
3739 artifacts-path : " "
3840 }
3941 - {
4042 name : " Windows Latest MSVC" ,
4143 os : windows-latest,
4244 cmake-preset : msvc-release,
45+ artifacts-type : " msvc" ,
4346 artifacts-path : " /Release"
4447 }
4548
6770 run : ctest
6871
6972 - name : Upload build artifact
70- uses : actions/upload-artifact@v3
73+ uses : actions/upload-artifact@v4
7174 with :
72- name : figcone-examples-${{ matrix.config.os }}-nameof-${{ matrix.use_nameof }}
75+ name : figcone-examples-${{ matrix.config.artifacts-type }}-nameof-${{ matrix.use_nameof }}
7376 path : |
7477 ${{github.workspace}}/build/examples${{ matrix.config.artifacts-path }}
7578 ${{github.workspace}}/build/examples_static_refl${{ matrix.config.artifacts-path }}
@@ -86,12 +89,14 @@ jobs:
8689 - {
8790 name : " Windows" ,
8891 os : " windows-latest" ,
92+ artifacts-type : " msvc" ,
8993 lunchtoast_exec : " lunchtoast.exe" ,
9094 shell_command : -shell="msys2 -c",
9195 }
9296 - {
9397 name : " Linux" ,
9498 os : " ubuntu-latest" ,
99+ artifacts-type : " gcc" ,
95100 lunchtoast_exec : " lunchtoast" ,
96101 shell_command : " " ,
97102 }
@@ -114,9 +119,9 @@ jobs:
114119 run : chmod +x lunchtoast
115120 - name : Download figcone examples build
116121 id : pre_launch_tests
117- uses : actions/download-artifact@v3
122+ uses : actions/download-artifact@v4
118123 with :
119- name : figcone-examples-${{ matrix.config.os }}-nameof-${{ matrix.use_nameof }}
124+ name : figcone-examples-${{ matrix.config.artifacts-type }}-nameof-${{ matrix.use_nameof }}
120125 path : build/
121126 - name : Fix artifacts paths on Windows
122127 if : matrix.config.name == 'Windows'
@@ -139,7 +144,7 @@ jobs:
139144 run : lunchtoast/lunchtoast functional_tests ${{ matrix.config.shell_command }} -collectFailedTests=failed_tests
140145 - name : Upload failed tests
141146 if : failure() && steps.launch_tests.outcome != 'success' && steps.pre_launch_tests.outcome == 'success'
142- uses : actions/upload-artifact@v3
147+ uses : actions/upload-artifact@v4
143148 with :
144149 name : figcone-failed-tests-${{ matrix.config.os }}-nameof-${{ matrix.use_nameof }}
145150 path : failed_tests
0 commit comments