@@ -48,7 +48,7 @@ module mode by default. To turn it on explicitly, set `GO111MODULE=on`.
48
48
# ### How do I set environment variables?
49
49
50
50
They can be set up via `env` for an [entire
51
- workflow](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#env),
51
+ workflow](https://docs.github.com/en/free-pro-team@latest/ actions/reference/workflow-syntax-for-github-actions#env),
52
52
a job, or for each step :
53
53
54
54
` ` ` yaml
60
60
61
61
# ### How do I set environment variables at run-time?
62
62
63
- You can use [workflow commands](https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions)
63
+ You can use [workflow commands](https://docs.github.com/en/free-pro-team@latest/ actions/reference/workflow-commands-for-github-actions)
64
64
to set environment variables, add an element to `$PATH`, and more. For example :
65
65
66
66
` ` ` yaml
@@ -85,7 +85,7 @@ downloaded modules:
85
85
# ### How do I run a step conditionally?
86
86
87
87
You can use `if` conditionals, using their [custom expression
88
- language](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions) :
88
+ language](https://docs.github.com/en/free-pro-team@latest/ actions/reference/context-and-expression-syntax-for-github-actions) :
89
89
90
90
` ` ` yaml
91
91
- name: Run end-to-end tests on Linux
@@ -96,9 +96,9 @@ language](https://docs.github.com/en/actions/reference/context-and-expression-sy
96
96
# ### How do I set up a custom build matrix?
97
97
98
98
You can [include extra matrix
99
- jobs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-new-combinations),
99
+ jobs](https://docs.github.com/en/free-pro-team@latest/ actions/reference/workflow-syntax-for-github-actions#example-including-new-combinations),
100
100
and you can [exclude specific matrix
101
- jobs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-excluding-configurations-from-a-matrix).
101
+ jobs](https://docs.github.com/en/free-pro-team@latest/ actions/reference/workflow-syntax-for-github-actions#example-excluding-configurations-from-a-matrix).
102
102
103
103
# ### How do I run multiline scripts?
104
104
@@ -114,11 +114,11 @@ jobs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-ac
114
114
The biggest difference is the UI; workflow results are shown separately.
115
115
Grouping jobs in workflows can also be useful if one wants to customize the
116
116
workflow triggers, or to set up dependencies via
117
- [needs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idneeds).
117
+ [needs](https://docs.github.com/en/free-pro-team@latest/ actions/reference/workflow-syntax-for-github-actions#jobsjob_idneeds).
118
118
119
119
# ### How do I set up a secret environment variable?
120
120
121
- Follow [these steps](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing- encrypted-secrets)
121
+ Follow [these steps](https://docs.github.com/en/free-pro-team@latest/actions/reference/ encrypted-secrets)
122
122
to set up the secret in the repo's settings. After adding a secret like
123
123
`FOO_SECRET`, use it on a step as follows :
124
124
@@ -172,11 +172,11 @@ jobs:
172
172
173
173
# # Quick links
174
174
175
- * Concepts, rate limits, etc: https://docs.github.com/en/actions/getting-started-with-github- actions/about -github-actions
175
+ * Concepts, rate limits, etc: https://docs.github.com/en/free-pro-team@latest/ actions/learn -github-actions
176
176
177
- * Syntax and fields reference: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
177
+ * Syntax and fields reference: https://docs.github.com/en/free-pro-team@latest/ actions/reference/workflow-syntax-for-github-actions
178
178
179
- * Environment reference: https://docs.github.com/en/actions/reference/virtual-environments -for-github-hosted-runners
179
+ * Environment reference: https://docs.github.com/en/free-pro-team@latest/ actions/reference/specifications -for-github-hosted-runners
180
180
181
181
* To report bugs: https://github.community/c/github-actions/41
182
182
0 commit comments