File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 57
57
[...]
58
58
` ` `
59
59
60
+ # ### How do I set environent variables at run-time?
61
+
62
+ You can use [workflow commands](https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions)
63
+ to set environment variables, add an element to `$PATH`, and more. For example :
64
+
65
+ ` ` ` yaml
66
+ echo "::set-env name=CGO_ENABLED::0"
67
+ echo "::add-path::${HOME}/goroot/bin"
68
+ ` ` `
69
+
60
70
# ### How do I set up caching between builds?
61
71
62
72
Use [actions/cache](https://github.com/actions/cache). For example, to cache
@@ -84,8 +94,8 @@ language](https://docs.github.com/en/actions/reference/context-and-expression-sy
84
94
85
95
# ### How do I set up a custom build matrix?
86
96
87
- You can [add options to existing matrix
88
- jobs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-configurations-in-a-matrix-build ),
97
+ You can [include matrix
98
+ jobs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-new-combinations ),
89
99
and you can [exclude specific matrix
90
100
jobs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-excluding-configurations-from-a-matrix).
91
101
You can’t perform that action at this time.
0 commit comments