Commit fa4f89b
committed
Fix publish-without-sfw: move shim dir on disk instead of PATH env override
GITHUB_PATH entries always take precedence over GITHUB_ENV PATH overrides
(actions/toolkit#655), so the previous approach of writing a cleaned PATH
to GITHUB_ENV was ineffective — the shim directory was always re-prepended.
Instead, rename the shim directory to .disabled to remove shims from PATH
resolution, and restore it afterward.1 parent 976cb5d commit fa4f89b
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 195 | + | |
| 196 | + | |
199 | 197 | | |
200 | 198 | | |
201 | 199 | | |
| |||
225 | 223 | | |
226 | 224 | | |
227 | 225 | | |
228 | | - | |
229 | | - | |
230 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
231 | 229 | | |
0 commit comments