From a807fa6f9b3a1dab9275df4e197b4c9f581253ef Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 29 Mar 2023 16:48:16 +0900 Subject: Use scoop instead of Chocolatey chocolatey often returns 503 status. --- .github/workflows/windows.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to '.github') 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: | -- cgit v1.2.1