Unverified Commit c44ebadf authored by Daz DeBoer's avatar Daz DeBoer
Browse files

Add build scan link as a notice annotation

- Use 'notice' method introduced in @actions/core v1.5.0
parent 4d373786
Loading
Loading
Loading
Loading
+3 −3
Changes for package-lock.json: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -32,9 +32,9 @@
      }
    },
    "@actions/core": {
      "version": "1.4.0",
      "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz",
      "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg=="
      "version": "1.5.0",
      "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.5.0.tgz",
      "integrity": "sha512-eDOLH1Nq9zh+PJlYLqEMkS/jLQxhksPNmUGNBHfa4G+tQmnIhzpctxmchETtVGyBOvXgOVVpYuE40+eS4cUnwQ=="
    },
    "@actions/exec": {
      "version": "1.1.0",
+1 −1
Changes for package.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
  "license": "MIT",
  "dependencies": {
    "@actions/cache": "1.0.7",
    "@actions/core": "1.4.0",
    "@actions/core": "1.5.0",
    "@actions/exec": "1.1.0",
    "@actions/github": "5.0.0",
    "@actions/glob": "0.2.0",
+1
Changes for src/main.ts: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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) {