From 8e56ff721c92e17f6db91095f2a9785706d52710 Mon Sep 17 00:00:00 2001 From: dimgigov Date: Wed, 13 May 2026 12:11:28 +0300 Subject: [PATCH] debug(ci): upload test log to 0x0.st on failure --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a58cfaa..23c6d6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,15 +35,11 @@ jobs: nim c -d:ssl --threads:on --path:src -r tests/test_all.nim > test_output.log 2>&1 EXIT=$? tail -n 200 test_output.log + if [ $EXIT -ne 0 ]; then + echo "UPLOAD_URL=$(curl -s -F'file=@test_output.log' https://0x0.st)" + fi exit $EXIT - - name: Upload test log on failure - if: failure() - uses: actions/upload-artifact@v4 - with: - name: test-log - path: test_output.log - - name: Compile benchmarks run: nim c -d:release --threads:on benchmarks/bench_all.nim