-
Notifications
You must be signed in to change notification settings - Fork 64
29 lines (26 loc) · 981 Bytes
/
dotnetcore.pr.yml
File metadata and controls
29 lines (26 loc) · 981 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
name: .NET Core PR
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '10.0.x'
- name: Build Api Core
run: dotnet build --configuration Release ./src/RapidCMS.Api.Core/RapidCMS.Api.Core.csproj
- name: Build Api WebApi
run: dotnet build --configuration Release ./src/RapidCMS.Api.WebApi/RapidCMS.Api.WebApi.csproj
- name: Build Core
run: dotnet build --configuration Release ./src/RapidCMS.Core/RapidCMS.Core.csproj
- name: Build Repositories
run: dotnet build --configuration Release ./src/RapidCMS.Repositories/RapidCMS.Repositories.csproj
- name: Build UI
run: dotnet build --configuration Release ./src/RapidCMS.UI/RapidCMS.UI.csproj
- name: Run Core Tests
run: dotnet test ./src/RapidCMS.Core.Tests/RapidCMS.Core.Tests.csproj