Commit 66047c2
committed
fix: make a json dict for the GitHub outputs
GitHub supports dynamic outputs only if the action use "using: node".
This does not work for "using: composite" or "docker" action.
The workaround is to dump the json into the output.
Then the GitHub workflow will be able to use fromJSON to read it:
```
if: fromJSON(steps.action.outputs.scopes).everything
```
Change-Id: I294c5f828801ad06a6ed613a127ed1b9315e40aa1 parent a0ecd36 commit 66047c2
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | | - | |
294 | | - | |
| 292 | + | |
295 | 293 | | |
296 | 294 | | |
297 | 295 | | |
| |||
0 commit comments