From c4fd7235e25e473b1b628c2c26989c16fb2a0c09 Mon Sep 17 00:00:00 2001 From: Matthew Casperson Date: Mon, 15 Mar 2021 10:26:02 +1000 Subject: [PATCH] Added more build info --- .github/workflows/maven.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5b3c28c..2149aa0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -72,7 +72,8 @@ jobs: \"Branch\": \"${{ github.head_ref }}\", \"OctopusBuildInformation\": { \"BuildEnvironment\":\"GithubActions\", - \"VcsCommitNumber\":\"${{ github.ref }}\", + \"VcsCommitNumber\":\"${{ github.sha }}\", + \"VcsCommitUrl\":\"https://github.com/OctopusSamples/RandomQuotes-Java/commit/${{ github.sha }}\", \"VcsType\": \"Git\", \"VcsRoot\": \"https://github.com/OctopusSamples/RandomQuotes-Java\"}}" > buildinfo.json; cat buildinfo.json