File tree Expand file tree Collapse file tree 3 files changed +50
-6
lines changed Expand file tree Collapse file tree 3 files changed +50
-6
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+ name : ${{ matrix.job.os }}
32+ runs-on : ${{ matrix.job.os }}
33+ steps :
34+ - name : Setup net5.0
35+ 36+ with :
37+ dotnet-version : " 5.0.201"
38+ - name : Run dotnet --info
39+ run : dotnet --info
40+ 41+ with :
42+ fetch-depth : 0
43+ - name : Build
44+ run : ${{ matrix.job.build }} --verbosity=diagnostic --target=pack
Original file line number Diff line number Diff line change 1+ #tool "nuget:?package=NuGet.CommandLine&version=5.8.1"
2+
13#addin "nuget:?package=Cake.MinVer&version=1.0.0"
24#addin "nuget:?package=Cake.Args&version=1.0.0"
35
@@ -8,19 +10,17 @@ Task("clean")
810 . Does ( ( ) =>
911{
1012 CleanDirectories ( "./artifacts/**" ) ;
11- CleanDirectories ( "./src/**/bin" ) ;
12- CleanDirectories ( "./src/**/obj" ) ;
13- CleanDirectories ( "./test/**/bin" ) ;
14- CleanDirectories ( "./test/**/obj" ) ;
13+ CleanDirectories ( "./packages/**" ) ;
14+ CleanDirectories ( "./**/^{bin,obj}" ) ;
1515} ) ;
1616
1717Task ( "restore" )
1818 . IsDependentOn ( "clean" )
1919 . Does ( ( ) =>
2020{
21- DotNetCoreRestore ( "./serilog-sinks-exceldnalogdisplay.sln" , new DotNetCoreRestoreSettings
21+ NuGetRestore ( "./serilog-sinks-exceldnalogdisplay.sln" , new NuGetRestoreSettings
2222 {
23- LockedMode = true ,
23+ NoCache = true ,
2424 } ) ;
2525} ) ;
2626
You can’t perform that action at this time.
0 commit comments