-
Notifications
You must be signed in to change notification settings - Fork 33
38 lines (38 loc) · 872 Bytes
/
ci.yml
File metadata and controls
38 lines (38 loc) · 872 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
36
37
38
name: CI
on:
push:
branches:
- master
- release-*
pull_request:
workflow_dispatch:
env:
DOTNET_NOLOGO: true
defaults:
run:
shell: pwsh
jobs:
build:
name: Windows
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: 8.0.x
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.3
- name: Build
run: msbuild src -p:Configuration=Release -restore -m
- name: Upload assets
uses: actions/upload-artifact@v7.0.1
with:
name: assets
path: src/ServiceInsight/bin/Release/
retention-days: 7
- name: Run tests
uses: Particular/run-tests-action@v1.7.0