Can't checkout a commit with depth=1

This commit is contained in:
Pentarctagon 2021-11-28 01:28:14 -06:00
parent aa6b45ee9f
commit c2be10ca4a
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -230,7 +230,7 @@ jobs:
- name: Build vcpkg
shell: cmd
run: |
git clone --depth=1 https://github.com/microsoft/vcpkg.git D:/a/wesnoth/vcpkg
git clone https://github.com/microsoft/vcpkg.git D:/a/wesnoth/vcpkg
cd D:/a/wesnoth/vcpkg
git checkout cbc22a396c88d098247fe7f79f0913a952e1f77d
D:/a/wesnoth/vcpkg/bootstrap-vcpkg.bat
@ -277,7 +277,7 @@ jobs:
- name: Build vcpkg
shell: cmd
run: |
git clone --depth=1 https://github.com/microsoft/vcpkg.git D:/a/wesnoth/vcpkg
git clone https://github.com/microsoft/vcpkg.git D:/a/wesnoth/vcpkg
cd D:/a/wesnoth/vcpkg
git checkout cbc22a396c88d098247fe7f79f0913a952e1f77d
D:/a/wesnoth/vcpkg/bootstrap-vcpkg.bat