Use init script to capture build scan URL

Instead of parsing the log output, we instead register a
buildScanPublished listener and record the build scan URL
to a file. This file is subsequently read to report the
build scan URL.

Fixes #30
This commit is contained in:
Daz DeBoer 2021-09-27 22:54:22 -06:00
parent 5576baa56b
commit a7174b82a2
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
5 changed files with 76 additions and 19 deletions

View file

@ -16,8 +16,6 @@ export async function run(): Promise<void> {
await caches.restore(buildRootDirectory)
const args: string[] = parseCommandLineArguments()
// TODO: instead of running with no-daemon, run `--stop` in post action.
args.push('--no-daemon')
const result = await execution.execute(
await resolveGradleExecutable(