-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
28 lines (28 loc) · 961 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 1 build deb action'
author: YuuinIH
description: 'Build debian packages from ROS 1 packages using Github Action.'
branding:
icon: package
color: gray-dark
inputs:
ros_distro:
description: 'The version of ros used.'
required: false
default: 'noetic'
timestamp:
description: 'Add the build timestamp behind the version number.(Just like ros buildfarm.)'
required: false
default: false
runs:
using: "composite"
steps:
- name: Install dependence
run: ${{ github.action_path }}/scripts/dep.sh ${{ inputs.ros_distro }}
shell: bash
- name: Build and install from source
id: build-and-install
run: ${{ github.action_path }}/scripts/build.sh ${{ inputs.ros_distro }}
shell: bash
- name: Package deb
run: ${{ github.action_path }}/scripts/package.sh ${{ inputs.ros_distro }} ${{ steps.build-and-install.outputs.catkin-ws-directory }} ${{ inputs.timestamp }}
shell: bash