-
As Mage currently does not support positional args (magefile/mage#170 or magefile/mage#24) we use environment variables with mage. Could you please add passing environment variables with this action? |
Beta Was this translation helpful? Give feedback.
Answered by
crazy-max
Mar 17, 2021
Replies: 2 comments
-
@raakasf You can already do that with GitHub Actions: -
name: Run Mage
uses: magefile/mage-action@v1
with:
version: latest
args: build
env:
MYENV: value |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crazy-max
-
Yes, just found out here and closing this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@raakasf You can already do that with GitHub Actions: