We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10aaf25 commit 82074baCopy full SHA for 82074ba
.github/workflows/workflow.yaml
@@ -199,3 +199,18 @@ jobs:
199
# NOTE keep in sync with tests/RunTests.hs
200
bazel run @stackage-pinning-test-unpinned//:pin
201
bazel build @stackage-pinning-test//:hspec
202
+
203
+ - name: Collect logs
204
+ if: always()
205
+ shell: bash
206
+ run: |
207
+ base=$( bazel info output_base )
208
+ cd "$base"
209
+ find -maxdepth 1 -name "java*.log.*" -print0 | xargs -0r tar --force-local -caf "$GITHUB_WORKSPACE/logs.tgz"
210
211
+ - name: Upload logs
212
213
+ uses: actions/upload-artifact@v3
214
+ with:
215
+ name: Logs ${{ matrix.os }} ${{ matrix.module }} ${{ matrix.bzlmod }}
216
+ path: logs.tgz
0 commit comments