This repository was archived by the owner on Mar 9, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
92 lines (88 loc) · 4.33 KB
/
action.yml
File metadata and controls
92 lines (88 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: Inspect Visual Studio
author: Michele Locati
description: Detects the Visual Studio installation on the runner and gathers the env vars that vcvarsall.bat would set.
runs:
using: node20
main: dist/index.js
branding:
icon: target
color: blue
inputs:
version:
description: The Visual Studio version to inspect (e.g. 'latest', '2022', '17')
required: false
default: latest
architecture:
description: The architecture for the Visual Studio tools ('x86', 'amd64', 'x86_amd64', 'x86_arm', 'x86_arm64', 'amd64_x86', 'amd64_arm', 'amd64_arm64') - if not specified, the action will try to determine it based on the system architecture
required: false
platform-type:
description: The platform type for the Visual Studio tools ('store', 'uwp', or empty for classic desktop)
required: false
windows-sdk-version:
description: The Windows SDK version to use (e.g. '10.0.26100.0') - if not specified, the action will try to determine it based on the installed SDKs
required: false
spectre-mode:
description: Whether to enable Spectre mitigation (true or false)
required: false
default: "false"
process-paths:
description: "'windows', 'cygwin', or 'msys2': existing directories in environment variables (PATH, INCLUDE, ...) will be normalized to absolute existing Windows paths: if 'cygwin' or 'msys2' is used, the paths will be convert to cygwin (/cygdrive/c/...) or msys2 (/c/...) format"
required: false
default: ""
windows-paths:
description: normalize specific environment variable paths to absolute existing Windows paths (overrides process-paths); specify one variable name per line
required: false
default: ""
cygwin-paths:
description: normalize specific environment variable paths to absolute existing Windows paths and covert them to Cygwin paths (overrides process-paths); specify one variable name per line
required: false
default: ""
msys2-paths:
description: normalize specific environment variable paths to absolute existing Windows paths and covert them to MSYS2 paths (overrides process-paths); specify one variable name per line
required: false
default: ""
if-not-windows:
description: What to do if the action is run on a non-Windows system
required: false
default: fail
debug:
description: Dump debug information
required: false
default: "false"
outputs:
vcvarsall-path:
description: The path to the vcvarsall.bat file used for inspection - e.g. C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat
path:
description: The additional paths added to the PATH environment variable by vcvarsall.bat (semicolon-separated)
include:
description: The INCLUDE environment variable set by vcvarsall.bat (semicolon-separated)
lib:
description: The LIB environment variable set by vcvarsall.bat (semicolon-separated)
libpath:
description: The LIBPATH environment variable set by vcvarsall.bat (semicolon-separated)
vc-installdir:
description: The root directory of Visual C++ - e.g. C:\Program Files\Microsoft Visual Studio\2022\Community\VC\
vs-installdir:
description: The root directory of Visual Studio - e.g. C:\Program Files\Microsoft Visual Studio\2022\Community\
vs-version:
description: The version of Visual Studio - e.g. 17.0
vctools-installdir:
description: The root directory of the Visual C++ tools - e.g. C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\
vctools-version:
description: The version of the Visual C++ tools - e.g. 14.44.35207
windows-sdk-dir:
description: The root directory of the Windows SDK - e.g. C:\Program Files (x86)\Windows Kits\10\
windows-sdk-version:
description: The version of the Windows SDK - e.g. 10.0.26100.0\
windows-sdk-lib-version:
description: The version of the Windows SDK libraries - e.g. 10.0.26100.0\
ucrt-version:
description: The version of the Universal C Runtime - e.g. 10.0.26100.0
vcmd-arg-tgt-arch:
description: The architecture of the target platform - e.g. x64
vcmd-arg-host-arch:
description: The architecture of the system that runs the Visual Studio tools - e.g. x64
all:
description: All the environment variables set by vcvarsall.bat, in JSON format
platform:
description: The target platform for the Visual Studio tools - e.g. x64