File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - develop
8
+ - " feature/**"
9
+ - " release/**"
10
+ - " hotfix/**"
11
+ tags :
12
+ - " *"
13
+ pull_request :
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : ${{ matrix.os }}
18
+ strategy :
19
+ matrix :
20
+ os : [ windows-2019, ubuntu-18.04, macos-10.15 ]
21
+
22
+ steps :
23
+ - name : Checkout the repository
24
+ uses : actions/checkout@v2
25
+
26
+ - name : Fetch all tags and branches
27
+ run : git fetch --prune --unshallow
28
+
29
+ - name : Cache Tools
30
+ uses : actions/cache@v2
31
+ with :
32
+ path : tools
33
+ key : ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
34
+
35
+ - name : Build project
36
+ uses : cake-build/cake-action@v1
37
+ with :
38
+ script-path : recipe.cake
39
+ target : CI
40
+ verbosity : Normal
41
+ cake-version : 1.1.0
42
+ cake-bootstrap : true
43
+
44
+ - name : Upload Issues-Report
45
+ uses : actions/upload-artifact@v2
46
+ with :
47
+ if-no-files-found : warn
48
+ name : ${{ matrix.os }} issues
49
+ path : BuildArtifacts/report.html
50
+
51
+ - name : Upload Packages
52
+ uses : actions/upload-artifact@v2
53
+ if : runner.os == 'Windows'
54
+ with :
55
+ if-no-files-found : warn
56
+ name : package
57
+ path : BuildArtifacts/Packages/**/*
You can’t perform that action at this time.
0 commit comments