Skip to content

Commit dde7168

Browse files
committed
update docs
1 parent 060bc7e commit dde7168

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/sre-guide/common-problems-solutions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@ as a comment and therefore requires the PR number). The second file we set the
193193
name of with our second environment variable.
194194

195195
```bash
196-
export GITHUB_ENV=test.txt # You can call this file anything you like, it's the setting of GITHUB_ENV that's important
196+
export GITHUB_OUTPUT=test.txt # You can call this file anything you like, it's the setting of GITHUB_OUTPUT that's important
197197
```
198198

199-
This mimics the GitHub Actions environment where a `GITHUB_ENV` file is available
200-
to store and share environment variables across steps/jobs, and this will be where
199+
This mimics the GitHub Actions environment where a `GITHUB_OUTPUT` file is available
200+
to store and share output variables across steps/jobs, and this will be where
201201
our JSON formatted job matrices will be written to.
202202

203203
Now we're setup, we can run:
@@ -216,7 +216,7 @@ Where to find a list of changed files from GitHub Actions logs
216216
```
217217

218218
Once you have executed the command, the JSON formatted job matrices will be available
219-
in the file set by `GITHUB_ENV` in the following form:
219+
in the file set by `GITHUB_OUTPUT` in the following form:
220220

221221
```text
222222
prod-hub-matrix-jobs=<JSON formatted array>

0 commit comments

Comments
 (0)