X Tutup
Skip to content

Commit c4e00d9

Browse files
committed
create tmp in cygwin workflow
1 parent ee76a1f commit c4e00d9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,14 @@ jobs:
2020
- name: Force LF line endings
2121
run: git config --global core.autocrlf input
2222

23+
- name: Create tmp using bash
24+
run: bash -c 'mkdir /tmp'
25+
2326
- name: Tell git to trust this directory
24-
run: git config --global --add safe.directory /cygdrive/d/a/gitpython-639/gitpython-639/.git
27+
run: |
28+
git config --global safe.directory *
29+
git config --global --add safe.directory /cygdrive/d/a/gitpython-639/gitpython-639
30+
git config --global --add safe.directory /cygdrive/d/a/gitpython-639/gitpython-639/.git
2531
2632
- uses: actions/checkout@v4
2733
with:
@@ -30,7 +36,7 @@ jobs:
3036

3137
- uses: cygwin/cygwin-install-action@v4
3238
with:
33-
packages: python39 python39-pip python39-virtualenv git
39+
packages: python39 python39-pip python39-virtualenv git=2.43.0-1
3440

3541
- name: Show python and git versions
3642
run: |
@@ -40,6 +46,7 @@ jobs:
4046
- name: Tell git to trust this repo
4147
run: |
4248
/usr/bin/git config --global --add safe.directory "$(pwd)"
49+
/usr/bin/git config --global --add safe.directory "$(pwd)/.git"
4350
4451
- name: Prepare this repo for tests
4552
run: |

0 commit comments

Comments
 (0)
X Tutup