From 773e0736d2ea75c6ebaf1c060de2f7152fa79d39 Mon Sep 17 00:00:00 2001 From: Amery Hung Date: Wed, 5 Feb 2025 12:28:07 -0800 Subject: [PATCH] workflows: upload traffic monitoring log as artifacts After enabling traffic monitor in bpf selftests, upload the log files as artifacts. Signed-off-by: Amery Hung --- .github/workflows/kernel-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/kernel-test.yml b/.github/workflows/kernel-test.yml index fe641b1..1641424 100644 --- a/.github/workflows/kernel-test.yml +++ b/.github/workflows/kernel-test.yml @@ -82,3 +82,9 @@ jobs: # Here we must use kbuild-output local to the repo, because # it was extracted from the artifacts. kbuild-output: ${{ env.REPO_ROOT }}/kbuild-output + - if: ${{ always() }} + uses: actions/upload-artifact@v4 + with: + name: tmon-logs-${{ inputs.arch }}-${{ inputs.toolchain_full }}-${{ inputs.test }} + if-no-files-found: ignore + path: /tmp/tmon_pcap/*