summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-29 16:48:16 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-29 18:36:17 +0900
commita807fa6f9b3a1dab9275df4e197b4c9f581253ef (patch)
tree4c49b2d6a41d59ef3480e3e0ff23cf6f93fa962a /.github
parent9a1f6975c54e72a0a30e3fa598e072c44ef093e5 (diff)
downloadruby-a807fa6f9b3a1dab9275df4e197b4c9f581253ef.tar.gz
Use scoop instead of Chocolatey
chocolatey often returns 503 status.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml14
1 files changed, 3 insertions, 11 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index dc45dfe179..0045b87994 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -75,18 +75,10 @@ jobs:
- name: Install libraries with vcpkg
run: |
vcpkg --triplet x64-windows install libffi libyaml openssl readline zlib
- - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
- with:
- path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
- key: ${{ runner.os }}-chocolatey-${{ env.OS_VER }}-${{ github.sha }}
- restore-keys: |
- ${{ runner.os }}-chocolatey-${{ env.OS_VER }}-
- ${{ runner.os }}-chocolatey-
- - name: Install libraries with chocolatey
+ - name: Install libraries with scoop
run: |
- # Using Choco-Install for retries, but it doesn't detect failures properly
- # if you pass multiple package names in a single command.
- Choco-Install -PackageName winflexbison3
+ iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
+ scoop install winflexbison
shell: pwsh
- name: git config
run: |