Skip to content

Commit

Permalink
Upload CMake logs on workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
HexDecimal committed Aug 7, 2024
1 parent 44ce33e commit af615e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit af615e1

Please sign in to comment.