-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (25 loc) · 906 Bytes
/
dotnet.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
name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore source/vbeDecoder.sln
- name: Building Libraries
run: dotnet build source/libraries/vbeDecoder.NetStandard/vbeDecoder.csproj --no-restore
- name: Building netStandard CLI
run: dotnet build source/cli-projects/vbeDecoder.CLI.NetStandard2/vbeDecoder.CLI.csproj --no-restore
- name: Building netCore CLI
run: dotnet build source/cli-projects/vbeDecoder.CLI.NetCore/vbeDecoder.CLI.Core.csproj --no-restore
- name: Test
run: dotnet test source/cli-projects/vbeDecoder.CLI.NetCore/vbeDecoder.CLI.Core.csproj --no-build --verbosity normal