We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58edead commit 856c9cbCopy full SHA for 856c9cb
1 file changed
.github/workflows/dotnet.yml
@@ -0,0 +1,35 @@
1
+name: .NET
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ tags: [ "v*" ]
7
+ pull_request:
8
9
10
+jobs:
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ with:
18
+ fetch-depth: 0
19
+ - name: Setup .NET
20
+ uses: actions/setup-dotnet@v1
21
22
+ dotnet-version: 5.0.x
23
+ - name: Restore dependencies
24
+ run: dotnet restore
25
+ - name: Build
26
+ run: dotnet build --no-restore
27
+ - name: Test
28
+ run: dotnet test --no-build --verbosity normal
29
+ - name: Package
30
+ run: dotnet pack --no-restore --output ./release
31
+ - name: Upload a Build Artifact
32
+ uses: actions/upload-artifact@v2.2.0
33
34
+ name: packages
35
+ path: ./release/*
0 commit comments