From 6a40b0e3c790c75b5d34459628ae45d474fecfb7 Mon Sep 17 00:00:00 2001 From: Nikhil Narayana Date: Mon, 9 Sep 2024 12:53:21 -0700 Subject: [PATCH] ci: install DirectX SDK redist from choco --- .github/workflows/pr-build.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index de76e651dc..c6d4832794 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -89,19 +89,12 @@ jobs: uses: actions/cache@v3 with: path: | - ./Tools/DX/ ./CodeSignTool/ key: ${{ runner.os }}-${{ secrets.CACHE_CONTROL }} - - name: "Download DirectX SDK" - working-directory: ${{ github.workspace }} + - name: "Install DirectX SDK Redist" shell: powershell run: | - if (!(Test-Path ".\Tools\DX\DXSDK_Jun10.exe" -PathType Leaf)) { Invoke-WebRequest -Uri https://github.com/project-slippi/Ishiiruka/releases/download/v2.2.5/DXSDK_Jun10.exe -UseBasicParsing -OutFile ".\Tools\DX\DXSDK_Jun10.exe" } - - name: "Install DirectX SDK" - working-directory: ${{ github.workspace }} - shell: cmd - run: | - .\Tools\DX\DXSDK_Jun10.exe /U /F + choco install directx-sdk - name: 'Fetch Git Tags' shell: bash if: success()