ENV vars are not expanded, causing DRY violations #25850
-
Problem: The Jobs -> Action -> ENV specification does not expand existing ENVs.
Expected: /home/runner/go/src/github.com/eduncan911/github-actions Actual Results: ~/go/src/github.com/${GITHUB_REPOSITORY} It does not expand the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No, that’s not expanded since the YAML is not evaluated in the context of the bourne shell. You can use the YAML variable expansion, though:
|
Beta Was this translation helpful? Give feedback.
-
Nice! I’ll give that a shot and will report back. |
Beta Was this translation helpful? Give feedback.
No, that’s not expanded since the YAML is not evaluated in the context of the bourne shell. You can use the YAML variable expansion, though: