diff options
author | Scott <[email protected]> | 2019-11-10 18:07:16 +0000 |
---|---|---|
committer | Scott <[email protected]> | 2019-11-15 22:14:47 +0000 |
commit | 6119ee6502ce6e2a35ca65e39c15d1a20bac8803 (patch) | |
tree | 8d89d072b9a477c5d06d49c9091812d6fc3da3f1 | |
parent | 4a610811401a931540d2341886545677e53a6526 (diff) |
Update windows.yml
Updating the Caching code.
-rw-r--r-- | .github/workflows/windows.yml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 02b110b4b..181170fc0 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -16,8 +16,16 @@ jobs: sudo apt-get install python3-pip sudo apt-get install python3-setuptools sudo pip3 install meson + + - name: Toolchain Cache + id: cache-toolchain + uses: actions/cache@v1 + with: + path: /home/runner/toolchains/ + key: mingw-toolchain - name: Compile Toolchain + if: steps.mingw-toolchain.outputs.cache-hit != 'true' run: | ./scripts/mingw-w64-build --disable-gdb x86_64 ~/toolchains ./scripts/mingw-w64-build x86_64.clean @@ -25,14 +33,7 @@ jobs: cd /home/runner/toolchains/ ls -la du -hs - - - name: Cache Toolchain - id: cache-toolchain - uses: actions/cache@v1 - with: - path: /home/runner/toolchains/ - key: mingw-toolchain - + - name: Build CLI and LibHB run: | export PATH="/home/runner/toolchains/mingw-w64-x86_64/bin:${PATH}" |