jaywcjlove / github-action-read-file

Read file contents.
https://jaywcjlove.github.io/github-action-read-file
MIT License
7 stars 1 forks source link

Cannot read .txt file? #13

Closed SirPhemmiey closed 3 months ago

SirPhemmiey commented 3 months ago

Hello,

I'm using this action but i don't know why it can't be read. I'm passing a .txt file to the path and i'm getting this message:

Screenshot 2024-05-15 at 11 15 10

Can you help on this, please?

jaywcjlove commented 3 months ago

https://github.com/jaywcjlove/github-action-read-file/blob/8498b54a70094fa5eaa02caca1af2da7e84121b4/src/index.ts#L24-L28

@SirPhemmiey Maybe you need to check if your configuration is correct, if the file exists, or if the file is on the correct Git branch.

SirPhemmiey commented 3 months ago

I'll be closing this. I used another action and it worked.

Thanks.