From 7fa821a80d60992f019c98ac813e2fc6e9775031 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Wed, 11 Dec 2019 14:01:23 +0900 Subject: Try to use `set-output` because commit info are not necessary in env. --- .github/workflows/macos.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github/workflows/macos.yml') 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 }} " + + "text": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }} " + "() " + "of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}", "color": "danger" -- cgit v1.2.3