The builds on develop show a red x, and it's because the GITHUB_BASE_REF variable is used there, and that' snot set (see https://docs.github.com/en/actions/reference/workflows-and-actions/variables#default-environment-variables). That causes the line
git clone -b $GITHUB_BASE_REF --depth 5 https://github.com/boostorg/boost.git
To evaluate to
git clone -b --depth 5 https://github.com/boostorg/boost.git
Which means -b eats --depth and the error is that 5 is not a repository:
https://github.com/boostorg/histogram/actions/runs/23616890771/job/68786564822
The variable should be surrounded by quotes, and it should not try to use GITHUB_BASE_REF on a branch build, only on a PR. :)
The builds on
developshow a red x, and it's because the GITHUB_BASE_REF variable is used there, and that' snot set (see https://docs.github.com/en/actions/reference/workflows-and-actions/variables#default-environment-variables). That causes the lineTo evaluate to
Which means
-beats--depthand the error is that5is not a repository:https://github.com/boostorg/histogram/actions/runs/23616890771/job/68786564822
The variable should be surrounded by quotes, and it should not try to use GITHUB_BASE_REF on a branch build, only on a PR. :)