Skip to content

Commit

Permalink
MacOS: upload opam log and build folder on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
MSoegtropIMC committed Jul 8, 2024
1 parent 0f6181d commit 8d4e9fa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,20 @@ jobs:
shell: bash
run: ./coq_platform_make.sh -packages=${{matrix.variant}} $PLATFORM_ARGS -dumplogs

- name: 'Upload opam log folder on failure'
uses: actions/upload-artifact@v3
if: failure()
with:
name: 'Opam log folder ${{matrix.variant}}'
path: /Users/runner/.opam/log/

- name: 'Upload opam build folder on failure'
uses: actions/upload-artifact@v3
if: failure()
with:
name: 'Opam build folder ${{matrix.variant}}'
path: /Users/runner/.opam/CP*${{matrix.variant}}/.opam_switch/build/

- name: Install bash (needed by smoke scripts)
run: brew install bash

Expand Down

0 comments on commit 8d4e9fa

Please sign in to comment.