Use variables in upload-artifact #25832
-
This seems like it should be super simple:
Except this doesn’t work - I get quite literally |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Use:
|
Beta Was this translation helpful? Give feedback.
-
I’ll try that. Follow up question - is that documented anywhere? |
Beta Was this translation helpful? Give feedback.
-
https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions |
Beta Was this translation helpful? Give feedback.
-
It woulf be quite useful if we could access the runner context to write e.g. ${{ runner.home }}. This would avoid hard-coded paths when using the upload action:
|
Beta Was this translation helpful? Give feedback.
Use: