only upload artifacts on failure
All checks were successful
Backend Actions / check (push) Successful in 25s
Backend Actions / build (push) Successful in 43s
Backend Actions / test (push) Successful in 52s

This commit is contained in:
2025-07-22 00:42:22 +01:00
parent d700822dc8
commit 392dc779ff

View File

@ -62,7 +62,8 @@ jobs:
- name: Run Tests
run: ./scripts/test.sh
- name: Upload Test Logs
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: nuchat-${{ hashFiles('src/**') }}-${{ hashFiles('tests/**') }}.log
name: nuchat-logs
path: backend/logs/*