From 4e203be02a44ed4df9f28d8af46e69555e7b87be Mon Sep 17 00:00:00 2001 From: andrussal Date: Sat, 6 Dec 2025 04:10:21 +0100 Subject: [PATCH] Print artifact URL for local smoke logs --- .github/workflows/lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0b05db7..c9b2702 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -261,11 +261,19 @@ jobs: fi - name: Upload local smoke logs if: failure() + id: upload-local-logs uses: actions/upload-artifact@v4 with: name: local-smoke-logs path: ${{ runner.temp }}/local-logs.tgz if-no-files-found: error + - name: Print local smoke logs download URL + if: failure() + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh api "repos/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/artifacts" \ + --jq '.artifacts[] | select(.name=="local-smoke-logs") | "local-smoke-logs: \(.archive_download_url)"' || true compose_smoke: runs-on: ubuntu-latest