mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
add json logging and ci error handling
This commit is contained in:
parent
8d84a80740
commit
b8745441c7
2 changed files with 7 additions and 0 deletions
5
.github/workflows/jitpack.yml
vendored
5
.github/workflows/jitpack.yml
vendored
|
@ -14,3 +14,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
wget "https://jitpack.io/com/github/recloudstream/gradle/${GITHUB_REF##*/}-${SHORT_SHA}-1/build.log" -T 300
|
wget "https://jitpack.io/com/github/recloudstream/gradle/${GITHUB_REF##*/}-${SHORT_SHA}-1/build.log" -T 300
|
||||||
cat build.log
|
cat build.log
|
||||||
|
- name: Check status
|
||||||
|
run: |
|
||||||
|
if grep -q "FAILURE: Build failed with an exception." build.log; then
|
||||||
|
echo "::error::Jitpack build failed with an exception." && exit 1
|
||||||
|
fi
|
|
@ -33,5 +33,7 @@ abstract class MakePluginsJsonTask : DefaultTask() {
|
||||||
.build()
|
.build()
|
||||||
).toPrettyString()
|
).toPrettyString()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
logger.lifecycle("Created ${outputFile.asFile.get()}")
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue