Skip to content

Commit 47e80bf

Browse files
committed
ci: Fix failing upload of .git dir
1 parent 8c644b0 commit 47e80bf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,14 @@ jobs:
7171
- name: git gc
7272
run: |
7373
git gc
74+
- name: rename .git
75+
run: |
76+
mv .git git-dir
7477
- uses: actions/upload-artifact@v4
7578
with:
7679
name: workdir-${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }}
7780
path: |
78-
.git
81+
git-dir
7982
build-num
8083
8184
tests:
@@ -100,6 +103,9 @@ jobs:
100103
- uses: actions/download-artifact@v4
101104
with:
102105
name: workdir-${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }}
106+
- name: rename .git back
107+
run: |
108+
mv git-dir .git
103109
- name: checkout tag
104110
shell: bash
105111
run: |

0 commit comments

Comments
 (0)