Commit 8ffb41d
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 65818a5 commit 8ffb41d
2 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 59 | + | |
| 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