We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fedac4a commit ea1e2a9Copy full SHA for ea1e2a9
.github/workflows/dotnet.yml
@@ -0,0 +1,21 @@
1
+name: .NET
2
+
3
+on:
4
+ push:
5
+ branches: [ * ]
6
+ pull_request:
7
+ branches: [ main ]
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Setup .NET
17
+ uses: actions/setup-dotnet@v1
18
+ with:
19
+ dotnet-version: 5.0.x
20
+ - name: Build, restore, test
21
+ run: ./pipelines/build.ps1
pipelines/build.ps1
@@ -0,0 +1,12 @@
+# Restore, Build and Test (don't publish)
+Push-Location (Join-Path $PSScriptRoot ../dotnet)
+try {
+ dotnet restore
+ dotnet build -c Release
+ dotnet test -c Release
+}
+finally {
+ Pop-Location
0 commit comments