File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,12 +18,16 @@ jobs:
1818
1919 - name : Add msbuild to PATH
2020 uses : microsoft/setup-msbuild@v2
21+
22+ - name : Nuget install
23+ run : |
24+ nuget restore ./AmtPtpDeviceUsbUm/MagicTrackpad2PtpDevice.vcxproj -PackagesDirectory=${{ github.workspace }}\packages
25+ nuget restore ./AmtPtpHidFilter/AmtPtpHidFilter.vcxproj -PackagesDirectory=${{ github.workspace }}\packages
26+ Add-Content $env:GITHUB_PATH "${{ github.workspace }}\packages\Microsoft.Windows.WDK.x64.10.0.26100.6584\c\bin\10.0.26100.0\x64"
2127
2228 - name : Build driver
2329 shell : bash
2430 run : |
25- nuget.exe restore ./AmtPtpDeviceUsbUm/MagicTrackpad2PtpDevice.vcxproj
26- nuget.exe restore ./AmtPtpHidFilter/AmtPtpHidFilter.vcxproj
2731 msbuild.exe ./AmtPtpDeviceUsbUm/MagicTrackpad2PtpDevice.vcxproj -p:Configuration=Release -p:Platform=x64
2832 msbuild.exe ./AmtPtpHidFilter/AmtPtpHidFilter.vcxproj -p:Configuration=Release -p:Platform=x64
2933 mkdir bin
You can’t perform that action at this time.
0 commit comments