Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/build-ubuntu20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ jobs:

- name: Verify tag ancestry
run: |
checked_out="$(git -c safe.directory="${GITHUB_WORKSPACE}" rev-parse HEAD)"
tagged="$(git -c safe.directory="${GITHUB_WORKSPACE}" rev-parse "refs/tags/${BUILD_REF}^{commit}")"
# Ubuntu 20.04's Git reads this setting from global config.
git config --global --add safe.directory "$(pwd -P)"
checked_out="$(git rev-parse HEAD)"
tagged="$(git rev-parse "refs/tags/${BUILD_REF}^{commit}")"
test "${checked_out}" = "${tagged}"
git -c safe.directory="${GITHUB_WORKSPACE}" merge-base --is-ancestor "${tagged}" "${GITHUB_SHA}"
git merge-base --is-ancestor "${tagged}" "${GITHUB_SHA}"

- name: Install uv and Python 3.12
run: |
Expand Down
Loading