Skip to content

Commit 143ddeb

Browse files
committed
fix(ci): exclude .git from the generated artifact
The artifact's pack file has the same name as the read-only one in the publish job's checkout, so extracting over it fails with EACCES.
1 parent 20cc63b commit 143ddeb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ jobs:
6363
- uses: actions/upload-artifact@v7
6464
with:
6565
name: python-generated
66-
path: .
66+
path: |
67+
.
68+
!.git/**
6769
include-hidden-files: true
6870

6971
build:

0 commit comments

Comments
 (0)