Skip to content

Commit

Permalink
user/jakobl/fine_grained_exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobL-MSFT committed Jan 15, 2024
1 parent 29a2dba commit 039ede5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Build-SampleSet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ finally {
}

#
# Determine whether WDK or EWDK build environment (not currently used)
# Determine whether build environment type (not currently used)
# Determine WDK/EWDK build number (used for exclusions)
#
$build_environment=""
Expand All @@ -60,10 +60,14 @@ if($env:Version_Number -match '10.0.(?<build>.*).0') {
#
# WDK sets environment variable UCRTVersion. For example '10.0.22621.0'.
#
elseif ($env:UCRTVersion -match '10.0.(?<build>.*).0') {
elseif ($env:UCRTVersionx -match '10.0.(?<build>.*).0') {
$build_environment="WDK"
$build_number=$Matches.build
}
elseif (-not $env:GITHUB_REPOSITORY -eq '') {
$build_environment="WDKGitHub"
$build_number=22621
}
else {

# Dump all environment variables so as to help debug error:
Expand Down

0 comments on commit 039ede5

Please sign in to comment.