-
Notifications
You must be signed in to change notification settings - Fork 413
49 lines (41 loc) · 950 Bytes
/
dotnetcore.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
name: .NET Core
on:
push:
branches:
- dev
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- dev
env:
TargetNet9: True
TargetNet8: True
jobs:
build:
runs-on: windows-latest
continue-on-error: true
name: Wilson GitHub Action Test
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup .NET 6.0.x
uses: actions/[email protected]
with:
dotnet-version: 6.0.x
- name: Setup .NET 8.0.x
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
- name: Setup .NET 9.0.x
uses: actions/[email protected]
with:
dotnet-version: 9.0.100-preview.4.24267.66
- name: Run the tests
run: dotnet test Wilson.sln
# Run baseline package validation
- name: Pack
run: dotnet pack Product.proj --no-restore --no-build