Skip to content

Commit

Permalink
Capture log files as build artifacts (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
thedataking authored Jul 9, 2020
1 parent c04009f commit 7a9dfb2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/internal-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
$GITHUB_WORKSPACE/testsuite/tests/**/compile_commands.json
${{ github.workspace }}/testsuite/tests/**/compile_commands.json
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Provision Rust
Expand Down Expand Up @@ -91,4 +91,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # optional
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: always() # Pick up events even if the job fails or is canceled.
if: always() # Pick up events even if the job fails or is canceled.

- uses: actions/upload-artifact@v2
with:
name: testsuite-log-files
path: ${{ github.workspace }}/testsuite/**/*.log
if: always()

0 comments on commit 7a9dfb2

Please sign in to comment.