mirror of
https://github.com/gradle/actions
synced 2024-11-24 02:12:12 +00:00
Add build scan link as a notice annotation
- Use 'notice' method introduced in @actions/core v1.5.0
This commit is contained in:
parent
4d37378696
commit
c44ebadf6f
3 changed files with 5 additions and 4 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -32,9 +32,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@actions/core": {
|
"@actions/core": {
|
||||||
"version": "1.4.0",
|
"version": "1.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.5.0.tgz",
|
||||||
"integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
|
"integrity": "sha512-eDOLH1Nq9zh+PJlYLqEMkS/jLQxhksPNmUGNBHfa4G+tQmnIhzpctxmchETtVGyBOvXgOVVpYuE40+eS4cUnwQ=="
|
||||||
},
|
},
|
||||||
"@actions/exec": {
|
"@actions/exec": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "1.0.7",
|
"@actions/cache": "1.0.7",
|
||||||
"@actions/core": "1.4.0",
|
"@actions/core": "1.5.0",
|
||||||
"@actions/exec": "1.1.0",
|
"@actions/exec": "1.1.0",
|
||||||
"@actions/github": "5.0.0",
|
"@actions/github": "5.0.0",
|
||||||
"@actions/glob": "0.2.0",
|
"@actions/glob": "0.2.0",
|
||||||
|
|
|
@ -29,6 +29,7 @@ export async function run(): Promise<void> {
|
||||||
|
|
||||||
if (result.buildScanUrl) {
|
if (result.buildScanUrl) {
|
||||||
core.setOutput('build-scan-url', result.buildScanUrl)
|
core.setOutput('build-scan-url', result.buildScanUrl)
|
||||||
|
core.notice(`Gradle build scan: ${result.buildScanUrl}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.status !== 0) {
|
if (result.status !== 0) {
|
||||||
|
|
Loading…
Reference in a new issue