See if can skip setting up dotnet (#157)
* Update pull-request.yaml * Update pull-request.yaml
This commit is contained in:
parent
ca02935340
commit
2eb10d1403
21
.github/workflows/pull-request.yaml
vendored
21
.github/workflows/pull-request.yaml
vendored
@ -22,29 +22,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install .NET Core SDK 2.1
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: '2.1.x'
|
|
||||||
|
|
||||||
- name: Install .NET Core SDK 3.1
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: '3.1.x'
|
|
||||||
|
|
||||||
- name: Install .NET SDK 5.0
|
|
||||||
uses: actions/setup-dotnet@v1
|
|
||||||
with:
|
|
||||||
dotnet-version: '5.0.x'
|
|
||||||
|
|
||||||
- name: Get .NET information
|
- name: Get .NET information
|
||||||
run: dotnet --info
|
run: dotnet --info
|
||||||
|
|
||||||
- name: Clean
|
|
||||||
run: dotnet clean -v m
|
|
||||||
|
|
||||||
- name: Clear cache
|
|
||||||
run: dotnet nuget locals all --clear
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build -c ${{ matrix.config }}
|
run: dotnet build -c ${{ matrix.config }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user