Skip to content

Commit 76f0cca

Browse files
authored
Update readme, change version number, preparing for next release. (#16)
1 parent fb394d1 commit 76f0cca

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
steps:
2727
# ...
2828

29-
- id: 'notify google chat'
30-
uses: 'google-github-actions/sent[email protected].1'
29+
- id: 'notify_google_chat'
30+
uses: 'google-github-actions/send[email protected].2'
3131
with:
3232
webhook_url: '${{ secrets.WEBHOOK_URL }}'
3333
mention: "<users/all>"
@@ -38,7 +38,7 @@ You can customize the condition for when you want this action is called..
3838
```yaml
3939
- id: 'notify google chat'
4040
if: ${{ inputs.fail_intentionally }}
41-
uses: 'google-github-actions/sent[email protected].1'
41+
uses: 'google-github-actions/send[email protected].2'
4242
with:
4343
webhook_url: '${{ secrets.WEBHOOK_URL }}'
4444
mention: "<users/all>"
@@ -52,4 +52,4 @@ Helpful references:
5252
* [Method: spaces.messages.create](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create)
5353
* [Cards v2](https://developers.google.com/chat/api/reference/rest/v1/cards)
5454
* abcxyz
55-
* [abcxyz/pkg/cli](https://pkg.go.dev/github.com/abcxyz/pkg/cli)
55+
* [abcxyz/pkg/cli](https://pkg.go.dev/github.com/abcxyz/pkg/cli)

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
BINARY_NAME: "send-google-chat-webhook"
3333
# manully update VERSION after each release
3434
# VERSION should not contain v.
35-
VERSION: "0.0.1"
35+
VERSION: "0.0.2"
3636
run: |-
3737
case "${RUNNER_OS}" in
3838
"Linux")

src/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@ func generateRequestBody(m *messageBodyContent) ([]byte, error) {
321321
},
322322
}
323323

324-
fmt.Println(jsonData)
325-
326324
res, err := json.Marshal(jsonData)
327325
if err != nil {
328326
return nil, fmt.Errorf("error marshal jsonData: %w", err)

0 commit comments

Comments
 (0)