mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 14:45:09 +00:00
Change e2e test
This commit is contained in:
parent
d4080b9957
commit
dbce00824d
10
.github/workflows/workflow.yml
vendored
10
.github/workflows/workflow.yml
vendored
@ -230,15 +230,6 @@ jobs:
|
|||||||
- name: Clear toolcache
|
- name: Clear toolcache
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
- name: Setup dotnet '2.2'
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
dotnet-version: '2.2'
|
|
||||||
|
|
||||||
- name: Setup dotnet '3.1'
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
dotnet-version: '3.1'
|
|
||||||
|
|
||||||
- name: Setup dotnet 7.0 with preview quality
|
- name: Setup dotnet 7.0 with preview quality
|
||||||
uses: ./
|
uses: ./
|
||||||
@ -251,7 +242,6 @@ jobs:
|
|||||||
$version = & dotnet --version
|
$version = & dotnet --version
|
||||||
Write-Host "Installed version: $version"
|
Write-Host "Installed version: $version"
|
||||||
if (-not $version.Contains("preview")) { throw "Unexpected version" }
|
if (-not $version.Contains("preview")) { throw "Unexpected version" }
|
||||||
__tests__/verify-dotnet.ps1 $version
|
|
||||||
|
|
||||||
test-proxy:
|
test-proxy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>net7.0;netcoreapp3.1;netcoreapp3.0;netcoreapp2.2</TargetFrameworks>
|
<TargetFrameworks>netcoreapp3.1;netcoreapp3.0;netcoreapp2.2</TargetFrameworks>
|
||||||
<RootNamespace>sample_csproj</RootNamespace>
|
<RootNamespace>sample_csproj</RootNamespace>
|
||||||
|
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user