diff options
-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 |