File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed
Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - master
5+ - develop
6+ - " feature/**"
7+ - " release/**"
8+ - " hotfix/**"
9+ tags :
10+ - " *.*.*"
11+ paths-ignore :
12+ - " README.md"
13+
14+ pull_request :
15+
16+ workflow_dispatch :
17+
18+ env :
19+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
20+ DOTNET_CLI_TELEMETRY_OPTOUT : true
21+ DOTNET_NOLOGO : true
22+
23+ jobs :
24+ build :
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ job :
29+ - os : windows-2019
30+ build : ./build.cmd
31+ push : true
32+ name : ${{ matrix.job.os }}
33+ runs-on : ${{ matrix.job.os }}
34+ steps :
35+ - name : Setup netcoreapp3.1
36+ uses : actions/setup-dotnet@v1.7.2
37+ with :
38+ dotnet-version : " 3.1.407"
39+ - name : Setup net5.0
40+ uses : actions/setup-dotnet@v1.7.2
41+ with :
42+ dotnet-version : " 5.0.201"
43+ - name : Run dotnet --info
44+ run : dotnet --info
45+ - uses : actions/checkout@v2.3.4
46+ with :
47+ fetch-depth : 0
48+ - name : Build
49+ run : ${{ matrix.job.build }} --verbosity=diagnostic --target=pack
50+ - name : Publish artifacts
51+ if : matrix.job.push && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
52+ uses : actions/upload-artifact@v2.2.3
53+ with :
54+ if-no-files-found : warn
55+ name : package
56+ path : artifact/nuget/**/*
You can’t perform that action at this time.
0 commit comments