Add build scan link as a notice annotation

- Use 'notice' method introduced in @actions/core v1.5.0
This commit is contained in:
Daz DeBoer 2021-09-05 19:15:31 -06:00
parent 4d37378696
commit c44ebadf6f
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
3 changed files with 5 additions and 4 deletions

View file

@ -29,6 +29,7 @@ export async function run(): Promise<void> {
if (result.buildScanUrl) {
core.setOutput('build-scan-url', result.buildScanUrl)
core.notice(`Gradle build scan: ${result.buildScanUrl}`)
}
if (result.status !== 0) {