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 dd56736
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 @@ -64,6 +64,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
depth: 0
filter: 'blob:none'
submodules: recursive
- name: Install ccache
uses: hendrikmuhs/[email protected]
Expand All @@ -87,6 +89,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
depth: 0
filter: 'blob:none'
submodules: recursive
- uses: microsoft/setup-msbuild@v2
- uses: nuget/setup-nuget@v2
Expand Down

0 comments on commit dd56736

Please sign in to comment.