-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (30 loc) · 983 Bytes
/
Net6-Ubuntu.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
name: NET6 Ubuntu
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
configuration: [Release]
env:
Solution_Name: src\TqkLibrary.Proxy.sln # Replace with your solution name, i.e. MyWpfApp.sln.
Test_Project_Path: src\TestProxy\TestProxy.csproj # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Install dependencies
working-directory: ./src
run: dotnet restore
- name: Build
working-directory: ./src
run: dotnet build
- name: Execute unit tests
working-directory: ./src
run: dotnet test