cache dxsdk folder on C

This commit is contained in:
stonedDiscord 2023-06-11 18:54:16 +02:00 committed by GitHub
parent da227101a0
commit 1efb87500a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,13 +17,22 @@ jobs:
with: with:
repository: 'itsmattkc/msvc420' repository: 'itsmattkc/msvc420'
path: 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: | run: |
cd dx5sdk cd dx5sdk
C:\msys64\usr\bin\wget.exe https://archive.org/download/idx5sdk/idx5sdk.exe C:\msys64\usr\bin\wget.exe https://archive.org/download/idx5sdk/idx5sdk.exe
7z x .\idx5sdk.exe 7z x .\idx5sdk.exe
7z x .\DX5SDK.EXE 7z x .\DX5SDK.EXE
cd dx5sdk
cd cdrom cd cdrom
.\SETUP.EXE /s .\SETUP.EXE /s