From 0f1d4a161879ed0257ce6dd5552889dbc4f0435a Mon Sep 17 00:00:00 2001 From: D Ther Date: Wed, 14 Oct 2020 18:58:57 +0630 Subject: [PATCH] release v0.4 --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cb54f36..bad2994 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,17 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - run: echo ::set-output name=action_msg::Someone $GITHUB_EVENT_NAME to $GITHUB_REPOSITORY - $GITHUB_REF - commitid $GITHUB_SHA + id: txt - name: Chat Setup - uses: DTherHtun/google-chat-action@v0.3 + uses: DTherHtun/google-chat-action@v0.4 with: - msg: ${GITHUB_REF} + msg: ${{ steps.txt.outputs.action_msg }} webhook: "https://chat.googleapis.co....." ``` OR +for faster. ```yaml name: Sample Testing on: [push] @@ -32,9 +35,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - run: echo ::set-output name=action_msg::Someone $GITHUB_EVENT_NAME to $GITHUB_REPOSITORY - $GITHUB_REF - commitid $GITHUB_SHA + id: txt - name: Chat Setup uses: docker://dther/google-chat-action:latest with: - msg: ${GITHUB_REF} + msg: ${{ steps.txt.outputs.action_msg }} webhook: "https://chat.googleapis.co....." ```