From f043e1b484a79ade1163a73f729bb708fbfba0fe Mon Sep 17 00:00:00 2001 From: Marius Greuel Date: Sun, 9 Jan 2022 20:04:06 +0100 Subject: [PATCH] Work around choco failure in build.yml --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3f50c3b6..81203501 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -172,7 +172,12 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install prerequisites - run: choco install winflexbison3 + # As Chocolatey is notoriously unreliable, install winflexbison3 directly from GitHub. + # run: choco install winflexbison3 + run: | + curl https://github.com/lexxmark/winflexbison/releases/download/v2.5.24/win_flex_bison-2.5.24.zip --location --output winflexbison.zip + unzip winflexbison.zip -d ${{github.workspace}}\winflexbison + echo "${{github.workspace}}\winflexbison" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: Configure run: >- cmake @@ -238,4 +243,4 @@ jobs: with: name: mingw-${{matrix.env}} path: | - ${{github.workspace}}/build/* + build/