Skip to content

Commit 0f803d5

Browse files
authored
Create build workflow
1 parent b6c59a0 commit 0f803d5

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: .NET Core
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
14+
runs-on: ${{ matrix.operating-system }}
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Setup .NET Core
18+
uses: actions/setup-dotnet@v1
19+
with:
20+
dotnet-version: 3.1.101
21+
- name: Install dependencies
22+
run: dotnet restore
23+
- name: Build
24+
run: dotnet build --configuration Release --no-restore

0 commit comments

Comments
 (0)