Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip vcpkg setup if the cache exists already. #6830

Merged
merged 1 commit into from
Jul 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down