Skip to content

Commit

Permalink
Set HOME explicitly in Windows
Browse files Browse the repository at this point in the history
To work around actions/checkout#767, where the checkout action tries to
use the wrong Git config file as the basis for its temporary config
file, set HOME explicitly to be the Cygwin home directory.
  • Loading branch information
me-and committed Apr 17, 2022
1 parent cc390be commit 08056b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -12,6 +12,7 @@ jobs:
shell: bash --noprofile --norc -e -o pipefail -o igncr {0}
env:
PATH: C:\cygwin\bin
HOME: C:\cygwin\home\runneradmin
steps:
- name: Install Cygwin Git
uses: cygwin/cygwin-install-action@v2
Expand Down

0 comments on commit 08056b4

Please sign in to comment.