How to echo "{name}={value}" >> $GITHUB_ENV with Kotlin
#1485
Unanswered
JavierSegoviaCordoba
asked this question in
Q&A
Replies: 1 comment 1 reply
-
val githubEnvFile = java.io.File(System.getenv("GITHUB_ENV"))
val currentContent = githubEnvFile.readText()
githubEnvFile.writeText(currentContent + "\nSOME_NAME=SOME_VALUE") |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone know how to set a key-value in
GITHUB_ENVwith Kotlin shell?Beta Was this translation helpful? Give feedback.
All reactions