Skip to content

Commit

Permalink
Debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Aug 8, 2023
1 parent 10aaf25 commit 82074ba
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,18 @@ jobs:
# NOTE keep in sync with tests/RunTests.hs
bazel run @stackage-pinning-test-unpinned//:pin
bazel build @stackage-pinning-test//:hspec
- name: Collect logs
if: always()
shell: bash
run: |
base=$( bazel info output_base )
cd "$base"
find -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r tar --force-local -caf "$GITHUB_WORKSPACE/logs.tgz"
- name: Upload logs
if: always()
uses: actions/upload-artifact@v3
with:
name: Logs ${{ matrix.os }} ${{ matrix.module }} ${{ matrix.bzlmod }}
path: logs.tgz

0 comments on commit 82074ba

Please sign in to comment.