Compare commits

..
Author SHA1 Message Date
dependabot[bot] d33a869795 Bump @babel/core from 7.7.4 to 7.29.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.7.4 to 7.29.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.29.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-14 16:50:15 +00:00
3 changed files with 687 additions and 300 deletions

No files matched your search

+1 -18
View File
@@ -114,30 +114,13 @@ function run() {
core.setFailed('Unable to find MSBuild.');
return;
}
core.info(`Found MSBuild tool path: ${foundToolPath}`);
core.info(`Using MSBuild architecture: ${MSBUILD_ARCH}`);
// try to get the MSBuild version for diagnostic purposes; a failure here shouldn't fail the action
try {
let msbuildVersion = '';
const versionOptions = {};
versionOptions.listeners = {
stdout: (data) => {
msbuildVersion += data.toString();
}
};
yield exec.exec(`"${foundToolPath}" -version -nologo`, [], versionOptions);
core.info(`Found MSBuild version: ${msbuildVersion.trim()}`);
}
catch (error) {
core.debug(`Unable to determine MSBuild version: ${error.message}`);
}
// extract the folder location for the tool
const toolFolderPath = path.dirname(foundToolPath);
// set the outputs for the action to the folder path of msbuild
core.setOutput('msbuildPath', toolFolderPath);
// add tool path to PATH
core.addPath(toolFolderPath);
core.info(`Tool path added to PATH: ${toolFolderPath}`);
core.debug(`Tool path added to PATH: ${toolFolderPath}`);
}
catch (error) {
core.setFailed(error.message);
+685 -263
View File
File diff suppressed because it is too large. Load diff
+1 -19
View File
@@ -118,24 +118,6 @@ async function run(): Promise<void> {
return
}
core.info(`Found MSBuild tool path: ${foundToolPath}`)
core.info(`Using MSBuild architecture: ${MSBUILD_ARCH}`)
// try to get the MSBuild version for diagnostic purposes; a failure here shouldn't fail the action
try {
let msbuildVersion = ''
const versionOptions: ExecOptions = {}
versionOptions.listeners = {
stdout: (data: Buffer) => {
msbuildVersion += data.toString()
}
}
await exec.exec(`"${foundToolPath}" -version -nologo`, [], versionOptions)
core.info(`Found MSBuild version: ${msbuildVersion.trim()}`)
} catch (error) {
core.debug(`Unable to determine MSBuild version: ${error.message}`)
}
// extract the folder location for the tool
const toolFolderPath = path.dirname(foundToolPath)
@@ -144,7 +126,7 @@ async function run(): Promise<void> {
// add tool path to PATH
core.addPath(toolFolderPath)
core.info(`Tool path added to PATH: ${toolFolderPath}`)
core.debug(`Tool path added to PATH: ${toolFolderPath}`)
} catch (error) {
core.setFailed(error.message)
}