Skip to content

Commit

Permalink
GHA: Do blobless clone on Windows+Mac
Browse files Browse the repository at this point in the history
Builds on Windows and macOS require git rev-list to properly embed
full version number. Perform blobless checkout to reduce the impact
somewhat.
  • Loading branch information
vslavik committed Feb 16, 2024
1 parent d2869db commit 1bf368f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Deepen git history
run: git fetch --deepen=100000 --filter=blob:none origin ${{ github.ref }}
- name: Install ccache
uses: hendrikmuhs/[email protected]
with:
Expand All @@ -88,6 +90,8 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Deepen git history
run: git fetch --deepen=100000 --filter=blob:none origin ${{ github.ref }}
- uses: microsoft/setup-msbuild@v2
- uses: nuget/setup-nuget@v2
- name: Restore NuGet packages
Expand Down

0 comments on commit 1bf368f

Please sign in to comment.