Capture build-results without build-scan publication

The `buildScanPublished` is only called when a build scan is published by the build.
Support other invocations by adding a `buildFinished` listener.
This commit is contained in:
Daz DeBoer
2022-06-04 22:37:36 -06:00
parent 754892d4ae
commit 500607bc35
3 changed files with 33 additions and 9 deletions

View File

@@ -23,6 +23,9 @@ jobs:
- name: Build kotlin-dsl project
working-directory: .github/workflow-samples/kotlin-dsl
run: ./gradlew assemble
- name: Build kotlin-dsl project
working-directory: .github/workflow-samples/kotlin-dsl
run: ./gradlew check --no-scan
- name: Build groovy-dsl project
working-directory: .github/workflow-samples/groovy-dsl
run: ./gradlew assemble