action-slack icon indicating copy to clipboard operation
action-slack copied to clipboard

Build artifacts

Open sgurlt opened this issue 4 years ago • 2 comments

Hey,

any chance to attach the build artifacts to a slack message ? :)

Best regards Sebastian

sgurlt avatar Mar 06 '20 11:03 sgurlt

Hello.

No, we can't currently attach build artifacts to a Slack message, because we would need to upload the file to Slack using only a Webhook ... which is impossible.

However, it is possible to do so by uploading the file through the Slack API, using the POST https://api.slack.com/methods/files.upload method. This is not supported by this Action at the moment, but it would be a very nice feature to add in the future. I'm planning to rework this Action and add more features, including this one, so it could accomplish more things than just sending notifications. Although, I can't precisely communicate an ETA as I need some time to work on this project.

What do you think ?

Ilshidur avatar Mar 06 '20 15:03 Ilshidur

Hey,

thank you very much for the update. That sounds great and would be a very nice feature for the future. in the meantime I will just add a link to the files to the messages :)

sgurlt avatar Mar 09 '20 12:03 sgurlt