diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 6e40f1ca91..8f8a6d3802 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -284,15 +284,15 @@ jobs: Write-Host "version=$version" "version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append - - name: Configure git line endings (Windows) - if: matrix.goos == 'windows' - run: git config --global core.autocrlf false - - name: Checkout code uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Configure git line endings (Windows) + if: matrix.goos == 'windows' + run: git config core.autocrlf false + - name: Sync vault templates and locales (Unix) if: matrix.goos != 'windows' run: |