mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-26 00:32:08 -05:00
Simplify build scan url extraction
This commit is contained in:
parent
e3d60b3873
commit
55871cbb47
1 changed files with 1 additions and 4 deletions
|
@ -18,12 +18,9 @@ export async function execute(
|
|||
ignoreReturnCode: true,
|
||||
listeners: {
|
||||
stdline: (line: string) => {
|
||||
if (line.startsWith('Publishing build scan...')) {
|
||||
if (line.includes('Publishing build scan...')) {
|
||||
publishing = true
|
||||
}
|
||||
if (publishing && line.length === 0) {
|
||||
publishing = false
|
||||
}
|
||||
if (publishing && line.startsWith('http')) {
|
||||
buildScanUrl = line.trim()
|
||||
publishing = false
|
||||
|
|
Loading…
Reference in a new issue