[!Caution] The action is still in active development and not ready for use, consider watching to receive updates on the progress.
This action will help you upload artifact from GitHub to Slack.
token
Required Slack token.
file
Required The artifact to upload.
filename
Required Name of the artifact.
channelId
Channel ID where the file will be shared, file will be private if not provided.
message
The message text introducing the file in specified channels.
success
Prints success once file is uploaded.
uses: kibettheophilus/slack-file-upload@main
with:
file: 'artifact/to/upload.pdf'
token: ${{ secrets.SLACK_TOKEN }}
filename: 'filename'
channelId: 'C12345'
message: 'This is a file'