diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-04-25 13:17:15 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2020-04-25 13:17:15 +0200 |
commit | 04888c080001aba409bbfe048c184cd772b36765 (patch) | |
tree | 30f562d6a17d5776a0823537f53d3fe15b73cb9d /.github/workflows/git.yml | |
parent | c9533a6f9f3a6edd0fb7c8c161d4016a6af26bc3 (diff) | |
download | go-git-04888c080001aba409bbfe048c184cd772b36765.tar.gz |
ci: fix CI, git compaitiblity
Diffstat (limited to '.github/workflows/git.yml')
-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 |