Skip to content

Commit 062b973

Browse files
author
KeepSOBP
committed
Github Actions
1 parent 40c141c commit 062b973

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: .NET Core
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
include:
16+
- Filters: "HawkuFilters"
17+
- Filters: "DevocubFilters"
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
with:
22+
submodules: true
23+
24+
- name: Setup .NET Core
25+
uses: actions/setup-dotnet@v1
26+
with:
27+
dotnet-version: 5.0.100
28+
29+
- name: Filters Build
30+
env:
31+
framework: net5
32+
run: dotnet build ${{ matrix.Filters }}/${{ matrix.Filters }}.csproj -f $framework -o ./build
33+
34+
- name: Upload Filters artifact
35+
uses: actions/upload-artifact@master
36+
with:
37+
name: ${{ matrix.Filters }}
38+
path: build/${{ matrix.Filters }}.dll

0 commit comments

Comments
 (0)