fix the buildagent error
This commit is contained in:
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@@ -10,7 +10,7 @@
|
||||
"request": "launch",
|
||||
"preLaunchTask": "tsc: build - src/azure/tsconfig.json",
|
||||
"name": "Run Azure Pipeline Task",
|
||||
"program": "${workspaceFolder}/src/azure/main.ts",
|
||||
"program": "${workspaceFolder}/src/azure/setup.ts",
|
||||
"outFiles": ["${workspaceFolder}/**/*.js"]
|
||||
},
|
||||
{
|
||||
@@ -19,7 +19,7 @@
|
||||
"request": "launch",
|
||||
"preLaunchTask": "tsc: build - src/github/tsconfig.json",
|
||||
"name": "Run GitHub Actions",
|
||||
"program": "${workspaceFolder}/src/github/main.ts",
|
||||
"program": "${workspaceFolder}/src/github/setup.ts",
|
||||
"outFiles": ["${workspaceFolder}/**/*.js"]
|
||||
}
|
||||
]
|
||||
|
||||
764
dist/github/execute/index.js
vendored
764
dist/github/execute/index.js
vendored
File diff suppressed because one or more lines are too long
770
dist/github/setup/index.js
vendored
770
dist/github/setup/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -12,8 +12,8 @@ export async function run() {
|
||||
|
||||
buildAgent.exportVariable("DOTNET_CLI_TELEMETRY_OPTOUT", "1");
|
||||
|
||||
const versionSpec = this.buildAgent.getInput(SetupOptions.versionSpec);
|
||||
const includePrerelease = this.buildAgent.getBooleanInput(SetupOptions.includePrerelease);
|
||||
const versionSpec = buildAgent.getInput(SetupOptions.versionSpec);
|
||||
const includePrerelease = buildAgent.getBooleanInput(SetupOptions.includePrerelease);
|
||||
|
||||
await gitVersionTool.install(versionSpec, includePrerelease);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user