@@ -47,7 +47,7 @@ module mode by default. To turn it on explicitly, set `GO111MODULE=on`.
47
47
# ### How do I set environent variables?
48
48
49
49
They can be set up via `env` for an [entire
50
- workflow](https://help .github.com/en/actions/reference/workflow-syntax-for-github-actions#env),
50
+ workflow](https://docs .github.com/en/actions/reference/workflow-syntax-for-github-actions#env),
51
51
a job, or for each step :
52
52
53
53
` ` ` yaml
@@ -74,7 +74,7 @@ downloaded modules:
74
74
# ### How do I run a step conditionally?
75
75
76
76
You can use `if` conditionals, using their [custom expression
77
- language](https://help .github.com/en/actions/reference/context-and-expression-syntax-for-github-actions) :
77
+ language](https://docs .github.com/en/actions/reference/context-and-expression-syntax-for-github-actions) :
78
78
79
79
` ` ` yaml
80
80
- name: Run end-to-end tests on Linux
@@ -85,9 +85,9 @@ language](https://help.github.com/en/actions/reference/context-and-expression-sy
85
85
# ### How do I set up a custom build matrix?
86
86
87
87
You can [add options to existing matrix
88
- jobs](https://help .github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-configurations-in-a-matrix-build),
88
+ jobs](https://docs .github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-configurations-in-a-matrix-build),
89
89
and you can [exclude specific matrix
90
- jobs](https://help .github.com/en/actions/reference/workflow-syntax-for-github-actions#example-excluding-configurations-from-a-matrix).
90
+ jobs](https://docs .github.com/en/actions/reference/workflow-syntax-for-github-actions#example-excluding-configurations-from-a-matrix).
91
91
92
92
# ### How do I run multiline scripts?
93
93
@@ -103,11 +103,11 @@ jobs](https://help.github.com/en/actions/reference/workflow-syntax-for-github-ac
103
103
The biggest difference is the UI; workflow results are shown separately.
104
104
Grouping jobs in workflows can also be useful if one wants to customize the
105
105
workflow triggers, or to set up dependencies via
106
- [needs](https://help .github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idneeds).
106
+ [needs](https://docs .github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idneeds).
107
107
108
108
# ### How do I set up a secret environment variable?
109
109
110
- Follow [these steps](https://help .github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets)
110
+ Follow [these steps](https://docs .github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets)
111
111
to set up the secret in the repo's settings. After adding a secret like
112
112
`FOO_SECRET`, use it on a step as follows :
113
113
@@ -161,11 +161,11 @@ jobs:
161
161
162
162
# # Quick links
163
163
164
- * Concepts, rate limits, etc: https://help .github.com/en/actions/getting-started-with-github-actions/about-github-actions
164
+ * Concepts, rate limits, etc: https://docs .github.com/en/actions/getting-started-with-github-actions/about-github-actions
165
165
166
- * Syntax and fields reference: https://help .github.com/en/actions/reference/workflow-syntax-for-github-actions
166
+ * Syntax and fields reference: https://docs .github.com/en/actions/reference/workflow-syntax-for-github-actions
167
167
168
- * Environment reference: https://help .github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
168
+ * Environment reference: https://docs .github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
169
169
170
170
* To report bugs: https://github.community/c/github-actions/41
171
171
0 commit comments