Commit 31a9248 1 parent 93e6d13 commit 31a9248 Copy full SHA for 31a9248
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 :
9
18
container :
10
19
image : ros:${{ matrix.rosdistro }}-ros-core
11
20
steps :
21
+ # Enable tmate debugging of manually-triggered workflows if the input option was provided
22
+ - name : Setup tmate session
23
+ uses : mxschmitt/action-tmate@v3
24
+ if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
25
+ with :
26
+ detached : true
12
27
- name : Install apt dependencies
13
28
run : |
14
29
sudo apt-get update
You can’t perform that action at this time.
0 commit comments