Export global environment variables to github actions with mage #389
-
I'm currently working on horusec using mage and trying to export environment variables to my action pipeline, but it's not working. Using github set environments variables documentation i was able to reproduce it.
and my actions step
Anyone knows the reason why it's happening? anyway this project is amazing, keep up with the good job ###EDIT i found a solution by using the output feature for github actions if someone needs it, you can check on horusec-devkit with another mage functions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Based on my own challenges with exporting env vars, I think the main difference is that in the While not ideal, you can always store your env vars in a file (e.g. |
Beta Was this translation helpful? Give feedback.
-
You can't really export environment variables from inside a program. That's not a mage or go thing, that's an OS thing. It would be the same in python or bash or anything else. |
Beta Was this translation helpful? Give feedback.
You can't really export environment variables from inside a program. That's not a mage or go thing, that's an OS thing. It would be the same in python or bash or anything else.