Commit 2d9e018
committed
feat: put the install dir on $GITHUB_PATH
Each `run:` step gets a fresh shell, and an Actions shell is neither a login
nor an interactive one, so nothing it starts reads the startup files the
installer edited. Appending the directory to the file $GITHUB_PATH points at is
the mechanism the runner does honour: it prepends those entries for every later
step. So `curl ... | sh` in one step and `flagsmith` in the next now works on
any runner, rather than only on images that already ship ~/.local/bin on PATH.
Taken from uv's Add-Ci-Path. The release smoke job drops its explicit sourcing
of the env script and relies on this instead.
beep boop1 parent ff1eef9 commit 2d9e018
2 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 66 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
169 | 177 | | |
170 | 178 | | |
171 | 179 | | |
| |||
246 | 254 | | |
247 | 255 | | |
248 | 256 | | |
249 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
250 | 261 | | |
251 | 262 | | |
252 | 263 | | |
| |||
0 commit comments