diff options
author | Scott <[email protected]> | 2019-11-10 17:59:49 +0000 |
---|---|---|
committer | Scott <[email protected]> | 2019-11-15 22:14:47 +0000 |
commit | ad56a0b5c5f5a943d469258642cb26955aa5bb95 (patch) | |
tree | ae38864783f93a5ed6f1aa68c8e708b19933e5ba /.github | |
parent | 055e4cbd72cb6a71aeb569f236d4b4083522d89a (diff) |
Update windows.yml
Add Support for Caching Toolchain
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/windows.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 09a78fd7c..6be783d7b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -22,11 +22,19 @@ jobs: ./scripts/mingw-w64-build --disable-gdb x86_64 ~/toolchains ./scripts/mingw-w64-build x86_64.clean ./scripts/mingw-w64-build pkgclean - cd ../ - ls -la - cd toolchains + cd /home/runner/toolchains/ ls -la du -hs + cd .. + tar cvzf toolchain.tar.gz toolchains/ + ls -la + + - name: Cache Toolchain + id: cache-toolchain + uses: actions/cache@v1 + with: + path: /home/runner/toolchain.tar.gz + key: mingw-toolchain - name: Build CLI and LibHB run: | |