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
+ uses : actions/setup-dotnet@v1.7.2
36
+ with :
37
+ dotnet-version : " 5.0.201"
38
+ - name : Run dotnet --info
39
+ run : dotnet --info
40
+ - uses : actions/checkout@v2.3.4
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
+
1
3
#addin "nuget:?package=Cake.MinVer&version=1.0.0"
2
4
#addin "nuget:?package=Cake.Args&version=1.0.0"
3
5
@@ -8,19 +10,17 @@ Task("clean")
8
10
. Does ( ( ) =>
9
11
{
10
12
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}" ) ;
15
15
} ) ;
16
16
17
17
Task ( "restore" )
18
18
. IsDependentOn ( "clean" )
19
19
. Does ( ( ) =>
20
20
{
21
- DotNetCoreRestore ( "./serilog-enrichers-exceldna.sln" , new DotNetCoreRestoreSettings
21
+ NuGetRestore ( "./serilog-enrichers-exceldna.sln" , new NuGetRestoreSettings
22
22
{
23
- LockedMode = true ,
23
+ NoCache = true ,
24
24
} ) ;
25
25
} ) ;
26
26
You can’t perform that action at this time.
0 commit comments