mirror of https://github.com/Chocobozzz/PeerTube
Try to display job log in specific stage
parent
606bcaf29e
commit
5ec8a71f84
|
@ -98,7 +98,11 @@ jobs:
|
||||||
- name: Display errors
|
- name: Display errors
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
(test -f dist/scripts/parse-log.js && NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log) || \
|
( \
|
||||||
|
test -f dist/scripts/parse-log.js && \
|
||||||
|
cat *-ci.log | uniq -c && \
|
||||||
|
NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log \
|
||||||
|
) || \
|
||||||
echo "parse-log.js script does not exist, skipping."
|
echo "parse-log.js script does not exist, skipping."
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
|
|
Loading…
Reference in New Issue