-
-
Notifications
You must be signed in to change notification settings - Fork 6
26 lines (24 loc) · 661 Bytes
/
Copy pathdotnet.yml
File metadata and controls
26 lines (24 loc) · 661 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
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Test on .NET ${{ matrix.dotnet }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
dotnet: [ '7.0.x' ]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Install dependencies
run: dotnet restore src/ChuckDeviceController.sln
- name: Build project
run: dotnet build src/ChuckDeviceController.sln