From 34caef7fc0710623c6894549423813d53f65b303 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 10 Dec 2020 16:38:12 +0100 Subject: Add joblog at the end of ci --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76fe5d6e3..f942dfa2b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -97,7 +97,8 @@ jobs: - name: Display errors run: | - NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log + (test -f dist/scripts/parse-log.js && NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log) || \ + echo "parse-log.js script does not exist, skipping." - name: Upload logs uses: actions/upload-artifact@v2 -- cgit v1.2.3