only upload artifacts on failure
This commit is contained in:
@ -62,7 +62,8 @@ jobs:
|
|||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: ./scripts/test.sh
|
run: ./scripts/test.sh
|
||||||
- name: Upload Test Logs
|
- name: Upload Test Logs
|
||||||
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: nuchat-${{ hashFiles('src/**') }}-${{ hashFiles('tests/**') }}.log
|
name: nuchat-logs
|
||||||
path: backend/logs/*
|
path: backend/logs/*
|
||||||
|
|||||||
Reference in New Issue
Block a user