From d54eb5dd309756fda83270f26af5ed5d0a38e3fb Mon Sep 17 00:00:00 2001 From: Matthew Casperson Date: Mon, 15 Mar 2021 10:47:58 +1000 Subject: [PATCH] Added commit message --- .github/workflows/maven.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 38b8208..bf7e99d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -75,7 +75,10 @@ jobs: \"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 + \"VcsRoot\": \"https://github.com/OctopusSamples/RandomQuotes-Java\"" + \"Commits\" { + [{\"Id\":\"${{ github.sha }}\", \"LinkUrl\":\"https://github.com/OctopusSamples/RandomQuotes-Java/commit/${{ github.sha }}\", \"Comment\": \"${{ github.event.head_commit.message }}\"}] + }}}" > buildinfo.json; cat buildinfo.json - name: Push Build Info Package run: >