From dedc88d7ca6f4288dc7ec4b0ab8b55583545dce0 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sun, 11 Jun 2023 18:59:44 +0200 Subject: [PATCH] do it in the 2 step way --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6a9955d..daecc1a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,9 +18,9 @@ jobs: repository: 'itsmattkc/msvc420' path: msvc420 - - name: Cache DX5 SDK + - name: Restore cached DX5 SDK id: cache-dx5 - uses: actions/cache@v3 + uses: actions/cache/restore@v3 with: path: C:\dxsdk key: dx5sdk @@ -34,6 +34,14 @@ jobs: 7z x .\DX5SDK.EXE cd cdrom .\SETUP.EXE /s + + - name: Cache DX5 SDK + if: steps.cache-dx5.outputs.cache-hit != 'true' + id: save-dx5 + uses: actions/cache/save@v3 + with: + path: C:\dxsdk + key: dx5sdk - name: Build shell: cmd