From 790863c03c7a88cf1d87e287c71ca7662ecf156c Mon Sep 17 00:00:00 2001 From: Shawn Carey Date: Fri, 18 Aug 2023 17:55:08 +0000 Subject: [PATCH] ensure cmake version discovery works (#711) --- .github/workflows/cmake.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 3b511786..d0d01fe1 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -57,8 +57,8 @@ jobs: # only focal-20.04 has >= 2.18, which is required by actions/checkout to clone # which enables cmake version discovery. remove this step when openziti:ziti-builder # is upgraded to a version that contains git 2.18+ - - name: install contemporary Git if Ubuntu - if: ${{ matrix.distro.name == 'ubuntu' }} + - name: install contemporary Git if using ziti-builder + if: ${{ startsWith(matrix.container, 'openziti/ziti-builder') }} run: | apt -y update apt-get -y install software-properties-common