Commit c19db28
authored
fix(.github/workflows): create ~/.gemini before running Gemini CLI (#4697)
The Gemini CLI expects ~/.gemini/ to exist when saving its project
registry. On a fresh GitHub Actions runner this directory is missing,
causing an ENOENT error on rename of projects.json.tmp. The error text
is written to stderr, which also triggers a "stderr was not valid JSON"
warning because the action expects structured JSON there.
Adding mkdir -p ~/.gemini before the action runs prevents both problems.1 parent 9829b52 commit c19db28
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments