How to use wildcards for the file to download
Closed this issue · 2 comments
cb-anomitromunshi commented
hi,
- name: Upload artifacts to slack
uses: MeilCli/slack-upload-file@v2
with:
slack_token: ${{ secrets.SLACK_TOKEN }}
file_path: 'src/main/resources/master*.txt'
file_type: 'text'
channels: testchannelprism
initial_comment: 'post by slack-upload-file'
As of now i tried by providing * in filepath, but no luck can u help pls
MeilCli commented
@cb-anomitromunshi
I was tested wildcard posting. That was succeded.
ref:
slack-upload-file/.github/workflows/debug.yml
Lines 25 to 38 in 1530479
Please check this:
- Does the file actually exist?
- Does the Slack Token have permissions for files:write?
MeilCli commented
close by no response