updated github action
main.yml / New push to repo (push) Failing after 2s

This commit is contained in:
Steve Gill
2020-10-29 15:15:20 -07:00
parent dda51d0615
commit 644b5ec195
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ jobs:
steps: steps:
- name: Publish to slack - name: Publish to slack
id: slack id: slack
uses: stevengill/[email protected].1 uses: stevengill/[email protected].2
with: with:
channel-id: 'CTAAHRA79' channel-id: 'CTAAHRA79'
# slack-message: 'posting from a github action!' # slack-message: 'posting from a github action!'
+1 -1
View File
@@ -28,7 +28,7 @@ try {
const web = new WebClient(botToken); const web = new WebClient(botToken);
if(channelId !== undefined && message !== undefined) { if(channelId.length > 0 && message.length > 0) {
// post message // post message
web.chat.postMessage({text: message, channel: channelId}); web.chat.postMessage({text: message, channel: channelId});
} else { } else {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "slack-github-action", "name": "slack-github-action",
"version": "1.3.1", "version": "1.3.2",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {