diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-11 14:01:23 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-11 14:03:30 +0900 |
commit | 7fa821a80d60992f019c98ac813e2fc6e9775031 (patch) | |
tree | bbee1a709d32da8b6776a61f87a100de6bd66be3 /.github/workflows/macos.yml | |
parent | 6025783a3b0b37517728c635250669449bb21a53 (diff) |
Try to use `set-output`
because commit info are not necessary in env.
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index ab73c1963e..724081d9dc 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -35,6 +35,7 @@ jobs: GITHUB_REPO: ${{ github.event.pull_request.head.repo.full_name }} if: github.event_name == 'pull_request' - run: ./src/tool/actions-commit-info.sh + id: commit_info - name: Install libraries run: | export WAITS='5 60' @@ -69,7 +70,7 @@ jobs: payload: | { "attachments": [{ - "text": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ env.COMMIT_DATE }} #${{ env.COMMIT_NUMBER_OF_DAY }}> " + + "text": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ steps.commit_info.outputs.COMMIT_DATE }} #${{ steps.commit_info.outputs.COMMIT_NUMBER_OF_DAY }}> " + "(<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|" + "${{ github.sha }}".substring(0, 10) + ">) " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}", "color": "danger" |