Repository navigation
Commit d7d1fb7
committed
ci: avoid PR GitHub token for static Nix builds
The pull_request Linux arm static build repeatedly failed while fetching the public crane flake input through Nix with an HTTP 401 Bad credentials response. The same build path passed on the push workflow, so the failure is tied to the pull_request token that setup-nix configures for GitHub fetches.
For pull_request static Linux builds, clear Nix access-tokens for the build command so public GitHub flake inputs are fetched without the invalid token. Push builds keep the existing authenticated configuration.1 parent 669513a commit d7d1fb7
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
0 commit comments