Skip to content

Commit d913dd4

Browse files
Create dotnet.yml (#14)
1 parent 2d30466 commit d913dd4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/dotnet.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: .NET
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup .NET
18+
uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: 8.0.x
21+
22+
- name: Restore dependencies
23+
run: dotnet restore src/System.CommandLine.Extensions.sln
24+
25+
- name: Build
26+
run: dotnet build src/System.CommandLine.Extensions.sln --no-restore

0 commit comments

Comments
 (0)