-
Notifications
You must be signed in to change notification settings - Fork 47
35 lines (30 loc) · 829 Bytes
/
build.yml
File metadata and controls
35 lines (30 loc) · 829 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
27
28
29
30
31
32
33
34
35
name: build
on:
push:
branches: "*"
pull_request:
branches: "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal --logger:trx
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
# Artifact name
name: Test Results
# A file, directory or wildcard pattern that describes what to upload
path: "**/*.trx"