Skip to content

Commit ec79922

Browse files
authored
Update sync-build-release.yml
Enable sparse checkout for Git operations in workflow.
1 parent 4a2ae7e commit ec79922

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sync-build-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
run: |
4545
git config user.name github-actions
4646
git config user.email github-actions@github.com
47+
git config core.sparsecheckout true
48+
echo .github/ >> .git/info/sparse-checkout
4749
git fetch --tags https://github.com/${{ inputs.upstream }}.git
4850
git push --tags
4951

0 commit comments

Comments
 (0)