The bison sourceforge download is quite slow and unreliable.
Hopefully this works. Stolen directly from ruby:
https://github.com/ruby/ruby/blob/
a50750c8a960ef62b3e1dbd78b12056f0512b17d/.github/workflows/windows.yml#L26
Signed-off-by: Ran Benita <ran@unusedvar.com>
- uses: actions/setup-python@v1
with:
python-version: '3.7'
+ - uses: actions/cache@v2
+ with:
+ path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
+ key: ${{ runner.os }}-chocolatey-${{ matrix.os }}-${{ github.sha }}
+ restore-keys: |
+ ${{ runner.os }}-chocolatey-${{ matrix.os }}-
+ ${{ runner.os }}-chocolatey-
- name: Install dependencies
run: |
python -m pip install --upgrade pip meson