-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (31 loc) · 765 Bytes
/
build.yml
File metadata and controls
37 lines (31 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build
on:
push:
branches: [ dev, main, master, '**' ]
pull_request:
branches: [ dev, main, master ]
jobs:
windows:
name: build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET SDK 6.0.x - 10.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
10.0.x
9.0.x
8.0.x
7.0.x
6.0.x
- name: Show dotnet Version
run: |
dotnet --list-sdks
dotnet --list-runtimes
- name: Build with dotnet
run: |
dotnet build --configuration Release DisposeScope.sln -p:CheckEolTargetFramework=false