Skip to content

Commit 7944b47

Browse files
committed
Remove source of uv env file - PATH already set
The 'Fix PATH for local tools' step already adds ~/.local/bin to PATH, so we don't need to source the uv env file. This was causing an error because the env file didn't exist yet at that point in the workflow. Use explicit path to uv (~/.local/bin/uv) instead of relying on PATH. Signed-off-by: Gary Oberbrunner <[email protected]>
1 parent 20d637c commit 7944b47

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,11 @@ jobs:
208208
if: matrix.vfx-cy == 2021 || matrix.vfx-cy == 2022
209209
run: |
210210
curl -LsSf https://astral.sh/uv/install.sh | sh
211-
source ~/.local/bin/env
212-
echo "After sourcing uv env, PATH=$PATH"
211+
# No need to source env - we already added ~/.local/bin to PATH above
213212
214213
# Use --default to create python/python3 symlinks in ~/.local/bin
215214
# This ensures the sigstore action can find 'python' (not just 'python3')
216-
uv python install --default 3.11
215+
~/.local/bin/uv python install --default 3.11
217216
218217
- name: Check python, uv paths
219218
run: |

0 commit comments

Comments
 (0)