This commit is contained in:
Vladimir Safonkin 2021-06-28 12:27:03 +03:00
parent 1dca326e13
commit 7b17d901f9
2 changed files with 21 additions and 1 deletions

View File

@ -138,6 +138,26 @@ jobs:
- name: Verify dotnet
shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1 2.2
test-input:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Clear toolcache
shell: pwsh
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
- name: Setup dotnet 3.1.*
uses: ./
with:
dotnet-version: '["3.1.*", "5.0.*"]'
- name: Verify dotnet
shell: pwsh
run: __tests__/verify-dotnet.ps1 3.1
test-proxy:
runs-on: ubuntu-latest

View File

@ -14,7 +14,7 @@ export async function run() {
// Proxy, auth, (etc) are still set up, even if no version is identified
//
let version = core.getInput('dotnet-version');
console.log("VERSION: ", version);
console.log('VERSION: ', version);
if (!version) {
// Try to fall back to global.json
core.debug('No version found, trying to find version from global.json');