You've already forked setup-dotnet
mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-10-16 08:15:10 +07:00
Merge remote-tracking branch 'origin/master' into global-json
This commit is contained in:
@ -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')}`);
|
||||
|
Reference in New Issue
Block a user