We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0712d6f commit 07b2187Copy full SHA for 07b2187
src/main.ts
@@ -184,6 +184,24 @@ export async function main(args: string[]): Promise<number> {
184
errorMessages.forEach((tool) => error(tool))
185
186
core.info("setup_cpp finished")
187
+
188
+ if (!isCI()) {
189
+ switch (process.platform) {
190
+ case "win32": {
191
+ core.info("Run `RefreshEnv.cmd` or restart your shell to update the environment.")
192
+ break
193
+ }
194
+ case "linux":
195
+ case "darwin": {
196
+ core.info("Run `source ~/.profile` or restart your shell to update the environment.")
197
198
199
+ default: {
200
+ // nothing
201
202
203
204
205
return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message
206
}
207
// Run main
0 commit comments