forked from dotnet/EntityFramework.Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 802 Bytes
/
build-samples.yml
File metadata and controls
37 lines (31 loc) · 802 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
name: Build Samples
on:
push:
branches: [live]
paths:
- "samples/core/**"
- "samples/end2end/**"
- ".github/workflows/build-samples.yml"
pull_request:
branches: [live]
paths:
- "samples/core/**"
- "samples/end2end/**"
- ".github/workflows/build-samples.yml"
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET 10.0 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
include-prerelease: true
- name: Build samples
working-directory: samples/core
run: dotnet build
- name: Build planetary docs sample
working-directory: samples/end2end/PlanetaryDocs
run: dotnet build