diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 231db0b04..f1570fbd5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -157,11 +157,13 @@ jobs: - name: Install extra tools (MSVC) run: choco install ccache ninja wget if: ${{ matrix.target == 'msvc' }} - - name: Install vulkan-sdk (MSVC) - run: | - wget https://sdk.lunarg.com/sdk/download/1.3.280.0/windows/VulkanSDK-1.3.280.0-Installer.exe -O D:/a/_temp/vulkan.exe - D:/a/_temp/vulkan.exe --accept-licenses --default-answer --confirm-command install + - name: Set up Vulkan SDK (MSVC) + uses: humbletim/setup-vulkan-sdk@v1.2.0 if: ${{ matrix.target == 'msvc' }} + with: + vulkan-query-version: latest + vulkan-components: SPIRV-Tools + vulkan-use-cache: true - name: Set up MSYS2 uses: msys2/setup-msys2@v2 if: ${{ matrix.target == 'msys2' }}