mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-05 23:03:07 +00:00
Print artifact URL for local smoke logs
This commit is contained in:
parent
77026378e1
commit
4e203be02a
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@ -261,11 +261,19 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- name: Upload local smoke logs
|
- name: Upload local smoke logs
|
||||||
if: failure()
|
if: failure()
|
||||||
|
id: upload-local-logs
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: local-smoke-logs
|
name: local-smoke-logs
|
||||||
path: ${{ runner.temp }}/local-logs.tgz
|
path: ${{ runner.temp }}/local-logs.tgz
|
||||||
if-no-files-found: error
|
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:
|
compose_smoke:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user