diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index c328dbe..86a45ef 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -8,10 +8,12 @@ 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 + uses: DTherHtun/google-chat-action@v0.3 with: - msg: someone $GITHUB_EVENT_NAME to $GITHUB_REPOSITORY - $GITHUB_REF - commitid $GITHUB_SHA + msg: ${{ steps.txt.outputs.action_msg }} webhook: "https://chat.googleapis.com/v1/spaces/AAAAzPcAy4s/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=MmdzluicdrdkyUAV_QwB6BzlLcIhbfrwNzxVrEllaec%3D&threadKey=git-commit"