From 54563ab4b0c9bce55afe5acfaf91f7a3e0ab1809 Mon Sep 17 00:00:00 2001 From: Zachary Eisinger Date: Wed, 23 Sep 2020 11:37:49 -0700 Subject: [PATCH] Interpret dotnet-version as a string --- .github/workflows/workflow.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 419dd14..5bd454e 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -91,10 +91,11 @@ jobs: run: | Remove-Item $env:LocalAppData\Microsoft\dotnet/* -Recurse -Force -ErrorAction SilentlyContinue Remove-Item "$env:ProgramFiles\dotnet/*" -Recurse -Force -ErrorAction SilentlyContinue - - name: Setup dotnet 2.0 + # 2.0, 3.0, 5.0 needs to be in single quotes to interpret as a string instead of as an integer + - name: Setup dotnet '2.0' uses: ./ with: - dotnet-version: 2.0 + dotnet-version: '2.0' - name: Verify dotnet if: runner.os != 'windows' run: __tests__/verify-dotnet-version.sh 2.0.9