Skip to content

Commit b2ee79c

Browse files
committed
Use absolute brew path in container setup
1 parent 6655b88 commit b2ee79c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,8 @@ jobs:
417417
# The job container runs as root so Actions checkout/tooling can write to the
418418
# mounted workspace, but Homebrew's prefix is owned by linuxbrew and recent
419419
# homebrew/brew images have been brittle when `brew install` runs as root.
420-
su - linuxbrew -c 'brew update || true'
421-
su - linuxbrew -c 'brew install python@3.12 python@3.11'
420+
su - linuxbrew -c '/home/linuxbrew/.linuxbrew/bin/brew update || true'
421+
su - linuxbrew -c '/home/linuxbrew/.linuxbrew/bin/brew install python@3.12 python@3.11'
422422
shell: bash
423423

424424
# Rust

0 commit comments

Comments
 (0)