aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-25 02:04:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-25 02:04:14 +0900
commitb86af95c5b4e035f5dc14018a7ff8861e6dc203d (patch)
treefc05dedc1952d934a5df1786d3733793266bcf3f /.github
parentb609bdeb5307e280137b4b2838af0fe4e4b46f1c (diff)
downloadruby-b86af95c5b4e035f5dc14018a7ff8861e6dc203d.tar.gz
Get rid of control flow by cmd.exe
Github workflow stopped using cmd.exe suddenly, and `||` and `&&` seem not working in PowerShell.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml12
1 files changed, 2 insertions, 10 deletions
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 }}