Skip to content

Commit 44c992c

Browse files
committed
Document MSVC version number validation
1 parent a7baecd commit 44c992c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/setup-build/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ runs:
4646
}
4747
}
4848
49+
# Validate the MSVC version input.
50+
# If specified, it is expected to have a format "major.minor", without the build and
51+
# revision numbers. When a value such as "14.42" is parsed as a `System.Version`, the build
52+
# and revision numbers in that object are set to -1.
4953
$MSVCVersion = "${{ inputs.msvc-version }}"
5054
if ($MSVCVersion -ne "") {
5155
$ParsedMSVCVersion = [System.Version]::Parse($MSVCVersion)

0 commit comments

Comments
 (0)