We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 210a651 commit 7642e2dCopy full SHA for 7642e2d
1 file changed
.github/workflows/pr-comment-artifacts.yaml
@@ -41,7 +41,13 @@ jobs:
41
echo "Getting previous logs: $LOG_URL"
42
gh api "$LOG_URL" >_logs.zip
43
echo "Unzipping logs"
44
- unzip -p _logs.zip >_build.txt
+ if ! unzip -p _logs.zip >_build.txt ; then
45
+ if [ $? -eq 1 ]; then
46
+ echo "::warning::Logs are empty, is runner okay?"
47
+ exit 0
48
+ fi
49
+ exit $?
50
51
52
echo "Parsing logs"
53
function parse_var {
0 commit comments