v1.3.0
This commit is contained in:
Родитель
35f7b04156
Коммит
0547e13bff
|
@ -105,8 +105,8 @@ class MsdoClient {
|
|||
args.push('github');
|
||||
}
|
||||
catch (error) {
|
||||
error('Exception occurred while initializing MSDO:');
|
||||
error(error);
|
||||
core.error('Exception occurred while initializing MSDO:');
|
||||
core.error(error);
|
||||
core.setFailed(error);
|
||||
return;
|
||||
}
|
||||
|
@ -115,7 +115,6 @@ class MsdoClient {
|
|||
yield exec.exec(cliFilePath, args);
|
||||
}
|
||||
catch (error) {
|
||||
error(error);
|
||||
core.setFailed(error);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework Condition=" '$(TargetFramework)' == '' ">netcoreapp3.1</TargetFramework>
|
||||
<TargetFramework Condition=" '$(TargetFramework)' == '' ">net6.0</TargetFramework>
|
||||
<MsdoPackageName Condition=" '$(MsdoPackageName)' == '' ">Microsoft.Security.DevOps.Cli</MsdoPackageName>
|
||||
<MsdoPackageVersion Condition=" '$(MsdoPackageVersion)' == '' ">0.*</MsdoPackageVersion>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "microsoft-security-devops-actions-toolkit",
|
||||
"version": "1.2.2",
|
||||
"version": "1.3.0",
|
||||
"description": "Microsoft Security DevOps for GitHub Actions toolkit.",
|
||||
"author": "Microsoft Corporation",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "microsoft-security-devops-actions-toolkit",
|
||||
"version": "1.2.2",
|
||||
"version": "1.3.0",
|
||||
"description": "Microsoft Security DevOps for GitHub Actions toolkit.",
|
||||
"author": "Microsoft Corporation",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -48,8 +48,7 @@ export class MsdoClient {
|
|||
try {
|
||||
let cliFilePath = this.getCliFilePath();
|
||||
await exec.exec(cliFilePath, ['init', '--force']);
|
||||
}
|
||||
catch (error) {
|
||||
} catch (error) {
|
||||
core.debug(error);
|
||||
}
|
||||
}
|
||||
|
@ -65,10 +64,8 @@ export class MsdoClient {
|
|||
cliFilePath = process.env.MSDO_FILEPATH;
|
||||
core.debug(`cliFilePath = ${cliFilePath}`);
|
||||
|
||||
if (inputArgs != null)
|
||||
{
|
||||
for (let i = 0; i < inputArgs.length; i++)
|
||||
{
|
||||
if (inputArgs != null) {
|
||||
for (let i = 0; i < inputArgs.length; i++) {
|
||||
args.push(inputArgs[i]);
|
||||
}
|
||||
}
|
||||
|
@ -94,8 +91,8 @@ export class MsdoClient {
|
|||
args.push('github');
|
||||
|
||||
} catch (error) {
|
||||
error('Exception occurred while initializing MSDO:');
|
||||
error(error);
|
||||
core.error('Exception occurred while initializing MSDO:');
|
||||
core.error(error);
|
||||
core.setFailed(error);
|
||||
return;
|
||||
}
|
||||
|
@ -107,7 +104,6 @@ export class MsdoClient {
|
|||
|
||||
// TODO: process exit codes
|
||||
} catch (error) {
|
||||
error(error);
|
||||
core.setFailed(error);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework Condition=" '$(TargetFramework)' == '' ">netcoreapp3.1</TargetFramework>
|
||||
<TargetFramework Condition=" '$(TargetFramework)' == '' ">net6.0</TargetFramework>
|
||||
<MsdoPackageName Condition=" '$(MsdoPackageName)' == '' ">Microsoft.Security.DevOps.Cli</MsdoPackageName>
|
||||
<MsdoPackageVersion Condition=" '$(MsdoPackageVersion)' == '' ">0.*</MsdoPackageVersion>
|
||||
</PropertyGroup>
|
||||
|
|
Загрузка…
Ссылка в новой задаче