Merge branch 'master' into global-json

This commit is contained in:
Danny McCormick
2019-08-14 10:01:21 -04:00
committed by GitHub
4 changed files with 17 additions and 4 deletions

View File

@ -10,6 +10,9 @@ export async function run() {
// If not supplied then task is still used to setup proxy, auth, etc...
//
let version: string = core.getInput('version');
if (!version) {
version = core.getInput('dotnet-version');
}
if (!version) {
// Try to fall back to global.json
core.debug('No version found, trying to find version from global.json');