@@ -42,7 +42,7 @@ Note that `name` fields are optional.
42
42
# ### How do I set environment variables?
43
43
44
44
They can be set up via `env` for an [entire
45
- workflow](https://docs.github.com/en/actions/learn-github-actions /workflow-syntax-for-github-actions#env),
45
+ workflow](https://docs.github.com/en/actions/using-workflows /workflow-syntax-for-github-actions#env),
46
46
a job, or for each step :
47
47
48
48
` ` ` yaml
54
54
55
55
# ### How do I set environment variables at run-time?
56
56
57
- You can use [environment files](https://docs.github.com/en/actions/learn-github-actions /workflow-commands-for-github-actions#environment-files)
57
+ You can use [environment files](https://docs.github.com/en/actions/using-workflows /workflow-commands-for-github-actions#environment-files)
58
58
to set environment variables or add an element to `$PATH`. For example :
59
59
60
60
` ` ` yaml
@@ -103,7 +103,7 @@ You can also include Go's build cache, to improve incremental builds:
103
103
104
104
This is demonstrated via the `test-cache` job [in this very repository](https://github.com/mvdan/github-actions-golang/actions).
105
105
106
- See [this guide](https://docs.github.com/en/actions/advanced-guides /caching-dependencies-to-speed-up-workflows)
106
+ See [this guide](https://docs.github.com/en/actions/using-workflows /caching-dependencies-to-speed-up-workflows)
107
107
for more details.
108
108
109
109
# ### How do I run a step conditionally?
@@ -119,9 +119,9 @@ language](https://docs.github.com/en/actions/learn-github-actions/contexts):
119
119
# ### How do I set up a custom build matrix?
120
120
121
121
You can [include extra matrix
122
- jobs](https://docs.github.com/en/actions/learn-github-actions /workflow-syntax-for-github-actions#example-including-new-combinations),
122
+ jobs](https://docs.github.com/en/actions/using-workflows /workflow-syntax-for-github-actions#example-including-new-combinations),
123
123
and you can [exclude specific matrix
124
- jobs](https://docs.github.com/en/actions/learn-github-actions /workflow-syntax-for-github-actions#example-excluding-configurations-from-a-matrix).
124
+ jobs](https://docs.github.com/en/actions/using-workflows /workflow-syntax-for-github-actions#example-excluding-configurations-from-a-matrix).
125
125
126
126
# ### How do I run multiline scripts?
127
127
@@ -137,7 +137,7 @@ jobs](https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-fo
137
137
The biggest difference is the UI; workflow results are shown separately.
138
138
Grouping jobs in workflows can also be useful if one wants to customize the
139
139
workflow triggers, or to set up dependencies via
140
- [needs](https://docs.github.com/en/actions/learn-github-actions /workflow-syntax-for-github-actions#jobsjob_idneeds).
140
+ [needs](https://docs.github.com/en/actions/using-workflows /workflow-syntax-for-github-actions#jobsjob_idneeds).
141
141
142
142
# ### How do I set up a secret environment variable?
143
143
@@ -205,11 +205,11 @@ jobs:
205
205
206
206
* Concepts, rate limits, etc: https://docs.github.com/en/actions/learn-github-actions
207
207
208
- * Syntax and fields reference: https://docs.github.com/en/actions/learn-github-actions /workflow-syntax-for-github-actions
208
+ * Syntax and fields reference: https://docs.github.com/en/actions/using-workflows /workflow-syntax-for-github-actions
209
209
210
210
* Environment reference: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
211
211
212
- * To report bugs: https://github.community/c/code-to-cloud/github- actions/41
212
+ * To report bugs: https://github.com/orgs/ community/discussions/categories/ actions-and-packages
213
213
214
214
# # Caveats
215
215
@@ -223,7 +223,7 @@ following `.gitattributes`:
223
223
* -text
224
224
` ` `
225
225
226
- * https://github.com/actions/virtual-environments /issues/712
226
+ * https://github.com/actions/runner-images /issues/712
227
227
228
228
` os.TempDir` on Windows will contain a short name, since `%TEMP%` also contains
229
229
it. Note that case sensitivity doesn't matter, and that `os.Open` should still
0 commit comments