mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Update dotnet-windows.yml
This commit is contained in:
26
.github/workflows/dotnet-windows.yml
vendored
26
.github/workflows/dotnet-windows.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: .NET
|
name: .NET Windows
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -8,18 +8,16 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
dotnet-version: [ '3.0', '3.1.x', '5.0.x' ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup .NET
|
- name: Setup dotnet ${{ matrix.dotnet-version }}
|
||||||
uses: actions/setup-dotnet@v2
|
uses: actions/setup-dotnet@v2
|
||||||
with:
|
with:
|
||||||
dotnet-version: 5.0.x
|
dotnet-version: ${{ matrix.dotnet-version }}
|
||||||
- name: Restore dependencies
|
# You can test your matrix by printing the current dotnet version
|
||||||
run: dotnet restore
|
- name: Display dotnet version
|
||||||
- name: Build
|
run: dotnet --version
|
||||||
run: dotnet build --no-restore
|
|
||||||
- name: Test
|
|
||||||
run: dotnet test --no-build --verbosity normal
|
|
||||||
|
|||||||
Reference in New Issue
Block a user