This repository was archived by the owner on Jul 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
45 lines (44 loc) · 1.61 KB
/
action.yml
File metadata and controls
45 lines (44 loc) · 1.61 KB
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
# see package.yml for usage
name: 'ROS Packaging'
description: 'Debian packaging on ROS Perception'
inputs:
# if no inputs are given, the timestamp is used as the only version number
version:
description: 'The version of the package to be generated. Other inputs ignored if provided.'
required: false
default: 'None'
branch:
description: 'Optional: The branch name used in the minor version. Paths will be escaped.'
required: false
default: 'None'
build-number:
description: 'Optional: Corresponds to the build number that invoked this. Patch version. '
required: false
default: 'None'
pull-request-number:
description: 'Optional: Corresponds to the pull request that invoked this. Major version.'
required: false
default: 'None'
dev-repo-entitlement:
description: 'Optional. If provided, will have access to the Cloudsmith dev repository for dependency download.'
required: false
default: 'None'
release-repo-entitlement:
description: 'Optional. If provided, will have access to the Cloudsmith release repository for dependency download.'
required: false
default: 'None'
outputs:
artifact-path:
description: 'The file path where the artifact can be found'
version:
description: 'The version of the artifact.'
runs:
using: 'docker'
image: 'Dockerfile'
args: # see entrypoint.sh for the recipient of these - order matters
- ${{ inputs.version }}
- ${{ inputs.build-number }}
- ${{ inputs.pull-request-number }}
- ${{ inputs.branch }}
- ${{ inputs.dev-repo-entitlement }}
- ${{ inputs.release-repo-entitlement }}