diff options
author | Ran Benita <ran@unusedvar.com> | 2020-07-22 12:02:44 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-07-22 13:45:17 +0300 |
commit | d4a17915db7987c7e07a364675f19671c13f54e7 (patch) | |
tree | 8b7340e0bbc3d963d3f84361aeb79c861a3c7fbd | |
parent | dcb6c7b8a416050c62efa39e7701f137c8a53b49 (diff) | |
download | xorg-lib-libxkbcommon-d4a17915db7987c7e07a364675f19671c13f54e7.tar.gz |
ci: cache chocolaty download
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>
-rw-r--r-- | .github/workflows/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f51763..5c56dbb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -68,6 +68,13 @@ jobs: - 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 |