File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -193,11 +193,11 @@ as a comment and therefore requires the PR number). The second file we set the
193
193
name of with our second environment variable.
194
194
195
195
` ` ` 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
197
197
` ` `
198
198
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
201
201
our JSON formatted job matrices will be written to.
202
202
203
203
Now we're setup, we can run :
@@ -216,7 +216,7 @@ Where to find a list of changed files from GitHub Actions logs
216
216
` ` `
217
217
218
218
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 :
220
220
221
221
` ` ` text
222
222
prod-hub-matrix-jobs=<JSON formatted array>
You can’t perform that action at this time.
0 commit comments