Skip vcpkg setup if the cache exists already.
This commit is contained in:
parent
a573e58007
commit
3a796974c3
1 changed files with 8 additions and 8 deletions
16
.github/workflows/ci-main.yml
vendored
16
.github/workflows/ci-main.yml
vendored
|
@ -232,10 +232,10 @@ jobs:
|
|||
- name: Build vcpkg
|
||||
shell: cmd
|
||||
run: |
|
||||
git clone https://github.com/microsoft/vcpkg.git D:/a/wesnoth/vcpkg
|
||||
cd D:/a/wesnoth/vcpkg
|
||||
git checkout b49b2bdf22559c89eddbf29a29621a1dc6929320
|
||||
D:/a/wesnoth/vcpkg/bootstrap-vcpkg.bat
|
||||
if not exist "D:/a/wesnoth/vcpkg" git clone https://github.com/microsoft/vcpkg.git D:/a/wesnoth/vcpkg
|
||||
if not exist "D:/a/wesnoth/vcpkg" cd D:/a/wesnoth/vcpkg
|
||||
if not exist "D:/a/wesnoth/vcpkg" git checkout b49b2bdf22559c89eddbf29a29621a1dc6929320
|
||||
if not exist "D:/a/wesnoth/vcpkg" D:/a/wesnoth/vcpkg/bootstrap-vcpkg.bat
|
||||
|
||||
- name: Setup cmake
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
|
@ -285,10 +285,10 @@ jobs:
|
|||
- name: Build vcpkg
|
||||
shell: cmd
|
||||
run: |
|
||||
git clone https://github.com/microsoft/vcpkg.git D:/a/wesnoth/vcpkg
|
||||
cd D:/a/wesnoth/vcpkg
|
||||
git checkout b49b2bdf22559c89eddbf29a29621a1dc6929320
|
||||
D:/a/wesnoth/vcpkg/bootstrap-vcpkg.bat
|
||||
if not exist "D:/a/wesnoth/vcpkg" git clone https://github.com/microsoft/vcpkg.git D:/a/wesnoth/vcpkg
|
||||
if not exist "D:/a/wesnoth/vcpkg" cd D:/a/wesnoth/vcpkg
|
||||
if not exist "D:/a/wesnoth/vcpkg" git checkout b49b2bdf22559c89eddbf29a29621a1dc6929320
|
||||
if not exist "D:/a/wesnoth/vcpkg" D:/a/wesnoth/vcpkg/bootstrap-vcpkg.bat
|
||||
|
||||
- name: Setup cmake
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
|
|
Loading…
Add table
Reference in a new issue