Commit b1a2184
Explain when to use default variables in a context and an environment (#16650)
* Added "Determining which type of environment variables to use"
* Moved into reusable, added to various locations
* Added some small edits
* Some rewording
* Revised example
* Removed reusable reference from one location
* Update context-and-expression-syntax-for-github-actions.md
* Fixed merge conflict
* Update environment-variables.md
* Apply suggestions from code review
Co-authored-by: Sarah Edwards <skedwards88@github.com>
* Update using-context-or-environment-variables.md
* Clarified locations of context variables
* Clarified the distinction between contexts and default environment variables
* Moved section up
* Clarified that _most_ contexts can be used anywhere
Co-authored-by: Sarah Edwards <skedwards88@github.com>1 parent a90b001 commit b1a2184
3 files changed
Lines changed: 29 additions & 0 deletions
File tree
- content/actions/reference
- data/reusables/github-actions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments