diff --git a/.github/workflows/build-installer.yml b/.github/workflows/build-installer.yml index 8b3fe5e..06475b5 100644 --- a/.github/workflows/build-installer.yml +++ b/.github/workflows/build-installer.yml @@ -22,8 +22,10 @@ jobs: - name: Set Work ENVs id: vars run: | + echo $HOME echo "::set-output name=date::$(date +'%Y-%m-%d-%H-%M')" echo "DX9_SDK=$HOME/dx9" >> $GITHUB_ENV + exit 4 shell: bash - run: vcpkg integrate install @@ -52,10 +54,13 @@ jobs: - name: "Cache DX9 SDK" if: steps.dx9-cache.outputs.cache-hit != 'true' run: | + echo Downloading DXSDK June (2010) curl -s -L -o "_DX2010_.exe" "https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe" + echo Extracting include files 7z x _DX2010_.exe DXSDK/Include -o_DX2010_ > nul + echo Extracting lib files 7z x _DX2010_.exe DXSDK/Lib/x86 -o_DX2010_ > nul - echo DX9 SDK to workspace + echo Moving SDK to home directory mkdir $DX9_SDK mv _DX2010_/DXSDK $DX9_SDK echo Cleaning up install files