From 7aa0640182a3c4cc15f084d997c7f2f3162414a9 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Sat, 17 Feb 2024 04:17:21 +0100 Subject: [PATCH] Determine path to git runtime --- .github/workflows/test.yml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7cc632..df89de9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -187,6 +187,14 @@ jobs: - name: Verify basic run: __test__/verify-basic.sh --archive + inspect: + runs-on: ubuntu-latest + steps: + - name: Inspect Git Version + run: | + which git + git --version + test-proxy: runs-on: ubuntu-latest container: @@ -200,18 +208,18 @@ jobs: env: https_proxy: http://squid-proxy:3128 steps: - - name: Install Git - env: - https_proxy: "" # Disable https_proxy for this single step - http_proxy: "" - run: | - apt-get clean - apt-get upgrade - apt-get update - # apt-get install software-properties-common - # add-apt-repository ppa:git-core/ppa - # apt-get update - apt-get install git + # - name: Install Git + # env: + # https_proxy: "" # Disable https_proxy for this single step + # http_proxy: "" + # run: | + # apt-get clean + # apt-get upgrade + # apt-get update + # # apt-get install software-properties-common + # # add-apt-repository ppa:git-core/ppa + # # apt-get update + # apt-get install git # Clone this repo - name: Checkout @@ -223,8 +231,6 @@ jobs: with: ref: test-data/v2/basic path: basic - - name: Inspect Git Version - run: git --version - name: Verify basic run: __test__/verify-basic.sh