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.