calibreapp / image-actions

A Github Action that automatically compresses JPEGs, PNGs and WebPs in Pull Requests.
https://calibreapp.com/blog/compress-images-in-prs
GNU General Public License v3.0
1.42k stars 67 forks source link

Env variables are not being populated as expected #125

Closed Yasanali closed 2 years ago

Yasanali commented 2 years ago

Describe the bug

Hello, as you can see in the screenshot, I am setting up env variable INPUT_IGNOREPATHS to the value I would like to have for the ignorePaths configuration value. As per here . However, the value is not correctly reflected and I am getting the error in the screenshot. Screenshot 2022-07-18 at 1 04 44 PM

How To Reproduce

No response

Screenshots

Screenshot 2022-07-18 at 1 12 03 PM

Relevant Log Output

No response

Code of Conduct

Yasanali commented 2 years ago

I think I know why. I am exposing the env variable on the gh runner not inside the docker.