File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and run ROS tests
2
- on : [push, pull_request]
2
+ on :
3
+ push :
4
+ pull_request :
5
+ workflow_dispatch :
6
+ inputs :
7
+ debug_enabled :
8
+ type : boolean
9
+ description : ' Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
10
+ required : false
11
+ default : false
3
12
jobs :
4
13
build :
5
14
strategy :
10
19
container :
11
20
image : ros:${{ matrix.rosdistro }}-ros-core
12
21
steps :
22
+ # Enable tmate debugging of manually-triggered workflows if the input option was provided
23
+ - name : Setup tmate session
24
+ uses : mxschmitt/action-tmate@v3
25
+ if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
26
+ with :
27
+ detached : true
13
28
- name : Install apt dependencies
14
29
run : |
15
30
sudo apt-get update
You can’t perform that action at this time.
0 commit comments