From 04888c080001aba409bbfe048c184cd772b36765 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Sat, 25 Apr 2020 13:17:15 +0200 Subject: ci: fix CI, git compaitiblity --- .github/workflows/git.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml index f89604b..bbccaa3 100644 --- a/.github/workflows/git.yml +++ b/.github/workflows/git.yml @@ -29,11 +29,12 @@ jobs: - name: Set Git config run: | + export GIT_DIST_PATH=.git-dist/${{ matrix.git[0] }} + export GIT_EXEC_PATH=${{ github.workspace }}/$GIT_DIST_PATH + export PATH=$GIT_EXEC_PATH:$PATH + git --exec-path git config --global user.email "gha@example.com" git config --global user.name "GitHub Actions" - export PATH=$GIT_DIST_PATH:$PATH - + - name: Test - env: - GIT_EXEC_PATH: ${{ github.workspace }}/${{ env.GIT_DIST_PATH }} run: make test-coverage -- cgit