Skip to content

Commit 1eccb1b

Browse files
committed
ci: replace 'source' with PATH/VIRTUAL_ENV exports for dash compatibility
The runner's default shell is /bin/sh (dash), which has no 'source' builtin. Signed-off-by: Matthias Gehre <matthias.gehre@amd.com>
1 parent 95a9740 commit 1eccb1b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-rocm-wheels.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ jobs:
194194
# first, which breaks `uv pip install --system`.
195195
uv venv --python 3.12 "$GITHUB_WORKSPACE/.venv"
196196
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
197-
source "$GITHUB_WORKSPACE/.venv/bin/activate"
197+
export PATH="$GITHUB_WORKSPACE/.venv/bin:$PATH"
198+
export VIRTUAL_ENV="$GITHUB_WORKSPACE/.venv"
198199
# Pin torch from the nightly ROCm index *only* (no PyPI
199200
# fallback) so we always get the ROCm wheel.
200201
uv pip install \

0 commit comments

Comments
 (0)