Skip to content

Commit 9561b36

Browse files
committed
fix vcpkg shallow clone in build workflow
1 parent 27d8224 commit 9561b36

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: actions/checkout@v4
2222
with:
2323
submodules: recursive
24+
fetch-depth: 0
2425

2526
- name: Cache vcpkg packages
2627
uses: actions/cache@v4
@@ -29,12 +30,6 @@ jobs:
2930
key: vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg.json', 'custom-vcpkg-ports/**') }}
3031
restore-keys: vcpkg-${{ runner.os }}-
3132

32-
- name: Fetch vcpkg baseline
33-
shell: pwsh
34-
run: |
35-
$baseline = (Get-Content vcpkg.json -Raw | ConvertFrom-Json).'builtin-baseline'
36-
git -C vcpkg fetch --depth 1 origin $baseline
37-
3833
- name: Bootstrap vcpkg
3934
run: .\vcpkg\bootstrap-vcpkg.bat -disableMetrics
4035

0 commit comments

Comments
 (0)