File tree Expand file tree Collapse file tree
extension/BuildPhpExtension/private Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,4 +83,4 @@ function Add-Vs {
8383 }
8484 end {
8585 }
86- }
86+ }
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ function Get-VsVersion {
2121 if ($PhpVersion -eq ' master' ) { $majorMinor = ' master' ; } else { $majorMinor = $PhpVersion.Substring (0 , 3 ); }
2222 $VsVersion = $ ($VsConfig.php .$majorMinor )
2323 $selectedToolset = $null
24+
25+ Add-StepLog " Visual Studio components version: $VsVersion "
26+ Add-StepLog " Visual Studio components config: $VsConfig "
27+
2428 try {
2529 $selectedToolset = Get-VsVersionHelper - VsVersion $VsVersion - VsConfig $VsConfig
2630 } catch {
@@ -34,4 +38,4 @@ function Get-VsVersion {
3438 }
3539 end {
3640 }
37- }
41+ }
Original file line number Diff line number Diff line change 7979 # with:
8080 # release: ${{ github.event.release.tag_name }}
8181 # token: ${{ secrets.GITHUB_TOKEN }}
82+
83+ msbuild :
84+ runs-on : windows-2022
85+ steps :
86+ - name : Add msbuild to PATH
87+ uses : microsoft/setup-msbuild@v2
88+ - run : |
89+ msbuild -version
90+
91+ msbuild_16 :
92+ runs-on : windows-2022
93+ steps :
94+ - name : Add msbuild to PATH
95+ uses : microsoft/setup-msbuild@v2
96+ with :
97+ vs-version : ' 16'
98+ - run : |
99+ msbuild -version
You can’t perform that action at this time.
0 commit comments