File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 6363 $SDK_VERSION = Invoke-RestMethod -Uri https://vulkan.lunarg.com/sdk/latest/windows.txt
6464 Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/$SDK_VERSION/windows/vulkan_sdk.exe -OutFile vulkan_sdk.exe
6565 Start-Process -FilePath "vulkan_sdk.exe" -ArgumentList "in", "--al", "--confirm-command" -Wait
66+ $env:LIB += ";$env:VULKAN_SDK\Lib"
67+ echo "LIB=$env:LIB" >> $env:GITHUB_ENV
6668
6769 - run : cargo build --verbose --workspace --all-targets
6870 - run : cargo check --verbose --workspace --all-targets
@@ -77,11 +79,11 @@ jobs:
7779 - run : git diff --exit-code
7880
7981 - name : Generate cargo docs
80- if : ${{ github.event_name == 'push' && matrix.rust == 'stable' }}
82+ if : ${{ github.event_name == 'push' && matrix.rust == 'stable' && runner.os == 'Linux' }}
8183 run : cargo doc --workspace --no-deps
8284
8385 - name : Upload artifact
84- if : ${{ github.event_name == 'push' && matrix.rust == 'stable' }}
86+ if : ${{ github.event_name == 'push' && matrix.rust == 'stable' && runner.os == 'Linux' }}
8587 uses : actions/upload-pages-artifact@v3
8688 with :
8789 path : " ./target/doc"
You can’t perform that action at this time.
0 commit comments