Skip to content

Commit f2933a0

Browse files
authored
housekeeping: Further samples refinements.
1 parent 9a2961c commit f2933a0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/build-samples.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ name: Sample Build
33
on:
44
push:
55
branches: [ main ]
6+
paths:
7+
- 'samples/**'
68
pull_request:
79
branches: [ main ]
10+
paths:
11+
- 'samples/**'
812

913
jobs:
10-
1114
build:
12-
1315
strategy:
1416
matrix:
1517
configuration: [Debug, Release]
@@ -23,15 +25,15 @@ jobs:
2325
fetch-depth: 0
2426

2527
# Install the .NET Core workload
26-
- name: Install .NET Core 3.x
28+
- name: Install .NET Core 3.1.x
2729
uses: actions/setup-dotnet@v1
2830
with:
29-
dotnet-version: 3.x
31+
dotnet-version: 3.1.x
3032

31-
- name: Install .NET 5.x
33+
- name: Install .NET 5.0.x
3234
uses: actions/setup-dotnet@v1
3335
with:
34-
dotnet-version: 5.x
36+
dotnet-version: 5.0.x
3537

3638
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
3739
- name: Setup MSBuild.exe

0 commit comments

Comments
 (0)