From 1efb87500a6b17204eda9aea67518898242096f3 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sun, 11 Jun 2023 18:54:16 +0200 Subject: [PATCH] cache dxsdk folder on C --- .github/workflows/build.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50fa4e29..8adf34c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,13 +17,22 @@ jobs: with: repository: 'itsmattkc/msvc420' path: msvc420 - - - name: Set up DX5 SDK + + - name: Cache DX5 SDK + id: cache-dx5 + uses: actions/cache@v3 + with: + path: C:\dxsdk + key: dx5sdk + + - name: Setup DX5 SDK + if: steps.cache-dx5.outputs.cache-hit != 'true' run: | cd dx5sdk C:\msys64\usr\bin\wget.exe https://archive.org/download/idx5sdk/idx5sdk.exe 7z x .\idx5sdk.exe 7z x .\DX5SDK.EXE + cd dx5sdk cd cdrom .\SETUP.EXE /s