File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - ' release/*'
8+ pull_request :
9+ branches :
10+ - main
11+ - ' release/*'
12+
13+ env :
14+ BUILD_NUMBER : ${{ github.run_number }}
15+
16+ jobs :
17+ build :
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ os : [windows-latest, ubuntu-latest, macos-latest]
22+
23+ runs-on : ${{ matrix.os }}
24+
25+ steps :
26+ - uses : actions/checkout@v2
27+ - name : Setup .NET Core 2.1
28+ uses : actions/setup-dotnet@v1
29+ with :
30+ dotnet-version : ' 2.1.x'
31+ - name : Setup .NET Core 3.1
32+ uses : actions/setup-dotnet@v1
33+ with :
34+ dotnet-version : ' 3.1.x'
35+ - name : Setup .NET 5
36+ uses : actions/setup-dotnet@v1
37+ with :
38+ dotnet-version : ' 5.0.x'
39+ - name : Run build script
40+ run : ./build.ps1 -ci
41+ - uses : actions/upload-artifact@v2
42+ if : ${{ matrix.os == 'windows-latest' }}
43+ with :
44+ name : packages
45+ path : artifacts/
46+ - uses : codecov/codecov-action@v1
47+ with :
48+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments