Skip to content

Commit 5d0ea1c

Browse files
committed
Don't include git config when upload directory to prepare release
Motivation: We recreate the gitconfig from scratch on each step so we should not include it Modifications: Add exclude Result: Cleanup
1 parent 32d1158 commit 5d0ea1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ jobs:
6868
uses: actions/upload-artifact@v4
6969
with:
7070
name: prepare-release-workspace
71-
path: ${{ github.workspace }}/**
71+
path: |
72+
${{ github.workspace }}/**
73+
!${{ github.workspace }}/.git/config
7274
include-hidden-files: true
7375

7476
stage-release-linux:

0 commit comments

Comments
 (0)