File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1919 - name : Install dependencies
2020 run : |
2121 python -V
22+
23+ echo "::group::Installing breezy"
2224 venv_dir="/tmp/venv"
2325 python -m venv "$venv_dir"
2426 . $venv_dir/bin/activate
3234 # Add missing import and use binary buffer of stdin for Python3 compat
3335 sed -i '1 i from breezy import controldir' $fastimport_dir/branch_updater.py
3436 sed -i 's/helpers.binary_stream(sys.stdin)/sys.stdin.buffer/' $fastimport_dir/cmds.py
37+ # Ensure correct Python is used
38+ sed -i '1 i\#!/usr/bin/env python3' $venv_dir/bin/brz
39+ echo "::endgroup::"
3540
41+ # Sanity check
42+ echo "::group::Breezy location"
43+ which brz
44+ echo "::endgroup::"
45+ echo "::group::brz script contents"
46+ file $(which brz)
47+ cat $(which brz)
48+ echo "::endgroup::"
49+ echo "brz version"
50+ brz --version
3651
3752 - uses : actions/checkout@v4
3853 with :
You can’t perform that action at this time.
0 commit comments