Merge remote-tracking branch 'origin/master' into global-json

This commit is contained in:
Zachary Eisinger
2020-05-15 14:03:51 -07:00
206 changed files with 28095 additions and 15298 deletions

View File

@ -2,6 +2,7 @@ import * as core from '@actions/core';
import * as installer from './installer';
import * as fs from 'fs';
import * as path from 'path';
import * as auth from './authutil';
export async function run() {
try {
@ -31,8 +32,12 @@ export async function run() {
const dotnetInstaller = new installer.DotnetCoreInstaller(version);
await dotnetInstaller.installDotnet();
}
// TODO: setup proxy from runner proxy config
const sourceUrl: string = core.getInput('source-url');
const configFile: string = core.getInput('config-file');
if (sourceUrl) {
auth.configAuthentication(sourceUrl, configFile);
}
const matchersPath = path.join(__dirname, '..', '.github');
console.log(`##[add-matcher]${path.join(matchersPath, 'csc.json')}`);