Work around choco failure in build.yml
This commit is contained in:
parent
e3338c428f
commit
f043e1b484
|
@ -172,7 +172,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install prerequisites
|
- 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
|
- name: Configure
|
||||||
run: >-
|
run: >-
|
||||||
cmake
|
cmake
|
||||||
|
@ -238,4 +243,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: mingw-${{matrix.env}}
|
name: mingw-${{matrix.env}}
|
||||||
path: |
|
path: |
|
||||||
${{github.workspace}}/build/*
|
build/
|
||||||
|
|
Loading…
Reference in New Issue