Debug prints

This commit is contained in:
Andrew Kahr 2023-10-18 00:33:23 -07:00
parent 23efedbc66
commit 44d4fb4e08
4 changed files with 10 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -1,3 +1,4 @@
Get-Process
# Import any necessary registry keys, ie: location of windows 10 sdk # Import any necessary registry keys, ie: location of windows 10 sdk
# No guarantee that there will be any necessary registry keys, ie: tvOS # No guarantee that there will be any necessary registry keys, ie: tvOS
Get-ChildItem -Path c:\regkeys -File | Foreach {reg import $_.fullname} Get-ChildItem -Path c:\regkeys -File | Foreach {reg import $_.fullname}
@ -19,3 +20,5 @@ regsvr32 C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.
# Kill the regsvr process # Kill the regsvr process
Get-Process -Name regsvr32 | ForEach-Object { Stop-Process -Id $_.Id -Force } Get-Process -Name regsvr32 | ForEach-Object { Stop-Process -Id $_.Id -Force }
Get-Process

View File

@ -25,7 +25,11 @@ async function runMain() {
if (process.platform === 'darwin') { if (process.platform === 'darwin') {
MacBuilder.run(actionFolder); MacBuilder.run(actionFolder);
} else { } else {
await Docker.run(baseImage.toString(), { workspace, actionFolder, ...buildParameters }); await Docker.run(baseImage.toString(), {
workspace,
actionFolder,
...buildParameters,
});
} }
} else { } else {
await CloudRunner.run(buildParameters, baseImage.toString()); await CloudRunner.run(buildParameters, baseImage.toString());
@ -37,5 +41,7 @@ async function runMain() {
} catch (error) { } catch (error) {
core.setFailed((error as Error).message); core.setFailed((error as Error).message);
} }
core.info('Done');
} }
runMain(); runMain();