From a9073421dd8227f48094f987b936ee46e4e29825 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 5 Jan 2023 19:19:56 +0100 Subject: [PATCH] Improve commit messages for nightlies --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fbe0c1..a9223cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,8 @@ jobs: id: get_repository_name run: | echo REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//") >> $GITHUB_ENV - echo DATETIME=$(echo $(date '+%Y%m%d-%H%M%S')) >> $GITHUB_ENV + echo DATETIME=$(echo $(date '+%Y%m%d-%H%M%S')) >> $GITHUB_ENV + echo COMMIT_MESSAGES=$(echo "${{join(github.event.commits.*.message, '||END||') }}" | sed -e 's/||END||/\r\n/g') >> $GITHUB_ENV - uses: actions/download-artifact@master with: name: binary @@ -60,6 +61,7 @@ jobs: body: | Not a stable release: ${{ github.event.head_commit.message }} + ${{ env.COMMIT_MESSAGES }} - name: Upload Release Asset id: upload-release-asset uses: actions/upload-release-asset@v1