aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/tools.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml
index 153db73625..76cbd30db7 100644
--- a/.github/workflows/tools.yml
+++ b/.github/workflows/tools.yml
@@ -121,9 +121,14 @@ jobs:
cd "$WORKPATH"
make tools/install -j$(nproc) BUILD_LOG=1
+ - name: Move logs to GITHUB_WORKSPACE
+ if: failure()
+ run: |
+ cp -r "$WORKPATH/logs" "$GITHUB_WORKSPACE"
+
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}-logs
- path: "$WORKPATH/logs"
+ path: "logs"