-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
28 lines (28 loc) · 943 Bytes
/
action.yml
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
name: 'ROS 2 Build Debian Package'
description: 'Build Debian packages from a ROS 2 project'
author: 'ICHIRO ITS'
branding:
icon: 'package'
color: 'gray-dark'
inputs:
ros2-distro:
description: 'The ROS 2 distribution to be used.'
required: false
default: 'foxy'
output-dir:
description: 'The output directory of build results.'
required: false
default: 'package'
unique-version:
description: 'Make the package version unique by using a timestamp for the Debian revision number.'
required: false
default: 'false'
runs:
using: 'composite'
steps:
- name: Setup dependencies
run: bash ${{ github.action_path }}/scripts/setup-dependencies.bash ${{ inputs.ros2-distro }}
shell: bash
- name: Build Debian packages
run: bash ${{ github.action_path }}/scripts/build-debian.bash ${{ inputs.ros2-distro }} ${{ inputs.output-dir }} ${{ inputs.unique-version }}
shell: bash