diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-04-25 13:43:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 13:43:25 +0200 |
commit | 05d46a029600047e8e4b566ae36fc2823709d67e (patch) | |
tree | 30f562d6a17d5776a0823537f53d3fe15b73cb9d | |
parent | c9533a6f9f3a6edd0fb7c8c161d4016a6af26bc3 (diff) | |
parent | 04888c080001aba409bbfe048c184cd772b36765 (diff) | |
download | go-git-05d46a029600047e8e4b566ae36fc2823709d67e.tar.gz |
Merge pull request #43 from go-git/fix-git-compatibility
ci: fix CI, git compaitiblity
-rw-r--r-- | .github/workflows/git.yml | 9 |
1 files 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 |