Commit 28ec14a
authored
fix(ci): detect CI env inside maturin Docker containers (#556)
The maturin-action runs cargo inside a manylinux Docker container that
receives GITHUB_ACTIONS but not the CI environment variable. This
causes the build.rs CI detection to fail, skipping the local
build/agentd and attempting to download it from a GitHub release URL
that does not yet exist during the release workflow.
Also check GITHUB_ACTIONS so the locally-built agentd is found inside
the container.1 parent f97c2c1 commit 28ec14a
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments