How to set env vars on GitHub Actions for a Windows release? #25705
-
BackgroundI am trying to get a Github Actions working with Windows and Bakeware because I am trying to create a release for an Elixir app using it. However, I am having issues with the environment variables. CodeIn Bakeware’s setup page it is mentioned that we have to set the In my Github Action, that is exactly what I do (I think):
I am even using powershell to do it (even though I am not really sure if this is needed). ProblemHowever my GitHub Actions code comes back with this error:
It says it cannot compile with QuestionI have tried copy/pasting the section:
To every section in that file I could think of, but I always end up with the same issue. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
Answer
The environment vars, in this case, were being correctly created and set. The problem was more deep, it was related to the library itself not being able to create needed folders.
Because the
make
tool used by the library needed these folders, the tool crashed itself and reported as such, thus making me believe there was an issue with my environmental setup since I was getting the error:In reality however, this issue was a bug in the library, an issue that is already fixed in master: