File tree Expand file tree Collapse file tree 1 file changed +28
-6
lines changed Expand file tree Collapse file tree 1 file changed +28
-6
lines changed Original file line number Diff line number Diff line change 1
- # pushes
1
+ # pushes trigger the testsuite
2
2
workflow "Push Event" {
3
3
on = " push"
4
- resolves = [" Execute " ]
4
+ resolves = [" Test " ]
5
5
}
6
6
7
- # pull-requests
7
+ # pull-requests trigger the testsuite
8
8
workflow "Pull Request" {
9
9
on = " pull_request"
10
- resolves = [" Execute " ]
10
+ resolves = [" Test " ]
11
11
}
12
12
13
- # Run the magic
14
- action "Execute" {
13
+ # releases trigger new binary artifacts
14
+ workflow "Handle Release" {
15
+ on = " release"
16
+ resolves = [" Upload" ]
17
+ }
18
+
19
+ # #
20
+ # # The actions
21
+ # #
22
+
23
+
24
+ # #
25
+ # # Run the test-cases, via .github/run-tests.sh
26
+ # #
27
+ action "Test" {
15
28
uses = " skx/github-action-tester@master"
16
29
}
30
+
31
+ # #
32
+ # # Build the binaries, via .github/build, then upload them.
33
+ # #
34
+ action "Upload" {
35
+ uses = " skx/github-action-publish-binaries@master"
36
+ args = " puppet-*"
37
+ secrets = [" GITHUB_TOKEN" ]
38
+ }
You can’t perform that action at this time.
0 commit comments