From d6eebb51b022c7221abd97654a5bc6958e7477ac Mon Sep 17 00:00:00 2001 From: zeppi Date: Fri, 25 Nov 2022 21:04:36 -0500 Subject: [PATCH] check git version --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 00f95839..62e2eabe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,9 +15,9 @@ jobs: uses: actions/checkout@v3 - name: aftercheckout run: | - git config --global --add safe.directory '*' ls -al ls -al .. + git --version pwd - name: hacky copy # docker image runs ~ as /root, but github actions uses ~=/github/home run: | @@ -27,7 +27,7 @@ jobs: echo "$PGP_PRIVATE_KEY" | gpg --batch --import echo 'deb https://gitsecret.jfrog.io/artifactory/git-secret-deb git-secret main' >> /etc/apt/sources.list wget -qO - 'https://gitsecret.jfrog.io/artifactory/api/gpg/key/public' | apt-key add - - apt-get -y update && apt-get -y install build-essential ca-certificates curl git gpg-agent openjdk-8-jdk software-properties-common wget zipalign git-secret + apt-get -y update && apt-get -y install build-essential ca-certificates curl gpg-agent openjdk-8-jdk software-properties-common wget zipalign git-secret ls -al .. ls -al git rev-parse --is-inside-work-tree