ruby-changes:58420
From: Nobuyoshi <ko1@a...>
Date: Fri, 25 Oct 2019 02:06:29 +0900 (JST)
Subject: [ruby-changes:58420] b86af95c5b (master): Get rid of control flow by cmd.exe
https://git.ruby-lang.org/ruby.git/commit/?id=b86af95c5b From b86af95c5b4e035f5dc14018a7ff8861e6dc203d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> 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. diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a914b1b..e489a10 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -24,20 +24,12 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L24 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/