-
Notifications
You must be signed in to change notification settings - Fork 20
28 lines (25 loc) · 886 Bytes
/
build.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
name: build
on: [push]
jobs:
build:
name: build & test
runs-on: windows-latest
strategy:
matrix:
dotnet-version: ["7.0.x"]
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: ${{ matrix.dotnet-version }}
# - name: Validate version consistency
# run: bash validate-version-consistency.sh
# working-directory: ./Material/Scripts
# shell: bash
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal