From b86af95c5b4e035f5dc14018a7ff8861e6dc203d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 25 Oct 2019 02:04:14 +0900 Subject: Get rid of control flow by cmd.exe Github workflow stopped using cmd.exe suddenly, and `||` and `&&` seem not working in PowerShell. --- .github/workflows/windows.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a914b1b120..e489a10734 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -24,20 +24,12 @@ jobs: steps: - name: Install libraries with vcpkg run: | - vcpkg --triplet x64-windows install %dependencies% || ( - sleep 4 && vcpkg --triplet x64-windows install %dependencies% - ) || ( - sleep 25 && vcpkg --triplet x64-windows install %dependencies% - ) + vcpkg --triplet x64-windows install %dependencies% env: dependencies: openssl readline zlib - name: Install libraries with chocolatey run: | - choco install winflexbison3 || ( - sleep 4 && choco install winflexbison3 - ) || ( - sleep 25 && choco install winflexbison3 - ) + choco install winflexbison3 # Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork. - name: Checkout ruby/ruby run: git clone --depth=50 https://github.com/ruby/ruby . && git reset --hard ${{ github.sha }} -- cgit v1.2.3