-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yaml
74 lines (70 loc) · 2.49 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# 🤠 PDS Engineering: Roundup Action
# ==================================
#
# This is a GitHub action that does a "roundup", our fancy term for
# continuous integration and delivery. Yee-haw! 🐄
---
name: '🤠 PDS Engineering: Roundup'
author: 'Sean Kelly <[email protected]>'
branding:
icon: 'circle'
color: 'orange'
inputs:
assembly:
description: >
🤠 What kind of roundup are we doing, such as `stable` or `unstable` or
something else? We default to `unstable`.
required: false
default: 'unstable'
packages:
description: >
📦 What packages should be installed prior to starting the roundup? Use
commas to separate each. These are Alpine Linux package names.
required: false
default: ''
maven-test-phases:
description: 🩺 Maven phases (or goals) to invoke for running tests.
required: false
default: 'test'
maven-doc-phases:
description: 📚 Maven phases (or goals) to invoke for generation documentation.
required: false
default: 'package,site,site:stage'
maven-build-phases:
description: 👷 Maven phases (or goals) to invoke for building software.
required: false
default: 'compile'
maven-stable-artifact-phases:
description: 😌 Maven phases (or goals) to invoke for publishing stable artifacts.
required: false
default: 'clean,package,site,deploy'
maven-unstable-artifact-phases:
description: 🤪 Maven phases (or goals) to invoke for publishing unstable artifacts.
required: false
default: 'clean,site,deploy'
documentation-dir:
description: 🤪 local folder of the project workspace from where documentation will be published on gh-pages
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '--assembly'
- ${{inputs.assembly}}
- '--packages'
- ${{inputs.packages}}
- '--maven-test-phases'
- ${{inputs.maven-test-phases}}
- '--maven-doc-phases'
- ${{inputs.maven-doc-phases}}
- '--maven-build-phases'
- ${{inputs.maven-build-phases}}
- '--maven-stable-artifact-phases'
- ${{inputs.maven-stable-artifact-phases}}
- '--maven-unstable-artifact-phases'
- ${{inputs.maven-unstable-artifact-phases}}
- '--documentation-dir'
- ${{inputs.documentation-dir}}
- '--debug'
...