From af615e19c2f4abccf9d56a7908ddcb70f3475908 Mon Sep 17 00:00:00 2001 From: Kyle Benesch <4b796c65+github@gmail.com> Date: Wed, 7 Aug 2024 13:25:31 -0700 Subject: [PATCH] Upload CMake logs on workflows --- .github/workflows/cmake.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 2776d98..c408eed 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -79,6 +79,12 @@ jobs: - name: Build run: | cmake --build "${{ env.CMAKE_BUILD_DIR }}" + - name: Upload CMake logs + if: always() + uses: actions/upload-artifact@v4 + with: + name: 'cmake-build-logs-${{ matrix.triplet }}' + path: build/**/*.log - name: Show contents of the build directory run: find "${{ env.CMAKE_BUILD_DIR }}" # Sets env.archive-name, which is used to name the distribution folder and archive.