Skip to content

Commit a807fa6

Browse files
committed
Use scoop instead of Chocolatey
chocolatey often returns 503 status.
1 parent 9a1f697 commit a807fa6

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/windows.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,10 @@ jobs:
7575
- name: Install libraries with vcpkg
7676
run: |
7777
vcpkg --triplet x64-windows install libffi libyaml openssl readline zlib
78-
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
79-
with:
80-
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
81-
key: ${{ runner.os }}-chocolatey-${{ env.OS_VER }}-${{ github.sha }}
82-
restore-keys: |
83-
${{ runner.os }}-chocolatey-${{ env.OS_VER }}-
84-
${{ runner.os }}-chocolatey-
85-
- name: Install libraries with chocolatey
78+
- name: Install libraries with scoop
8679
run: |
87-
# Using Choco-Install for retries, but it doesn't detect failures properly
88-
# if you pass multiple package names in a single command.
89-
Choco-Install -PackageName winflexbison3
80+
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
81+
scoop install winflexbison
9082
shell: pwsh
9183
- name: git config
9284
run: |

0 commit comments

Comments
 (0)