Skip to content

Commit dfd1c52

Browse files
Rework CI (backport #696) (#697)
* Rework CI (#696) (cherry picked from commit 3379e73) # Conflicts: # .github/workflows/nightly.yml * Fix rebase --------- Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
1 parent cf1b410 commit dfd1c52

3 files changed

Lines changed: 34 additions & 609 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: CI
22

33
on:
4-
pull_request:
5-
paths-ignore:
6-
- 'README.md'
7-
branches:
8-
- '**'
94
workflow_call:
5+
inputs:
6+
ci_target_ref:
7+
required: true
8+
type: string
109

1110
env:
1211
ROS_DISTRO: rolling
@@ -23,6 +22,7 @@ jobs:
2322
- uses: actions/checkout@v4
2423
with:
2524
path: src/micro_ros_setup
25+
ref: ${{ inputs.ci_target_ref }}
2626

2727
- uses: ros-tooling/setup-ros@0.7.0
2828
with:
@@ -63,6 +63,7 @@ jobs:
6363
- uses: actions/checkout@v4
6464
with:
6565
path: src/micro_ros_setup
66+
ref: ${{ inputs.ci_target_ref }}
6667

6768
- uses: ros-tooling/setup-ros@0.7.0
6869
with:
@@ -210,6 +211,7 @@ jobs:
210211
- uses: actions/checkout@v4
211212
with:
212213
path: src/micro_ros_setup
214+
ref: ${{ inputs.ci_target_ref }}
213215

214216
- uses: ros-tooling/setup-ros@0.7.0
215217
with:

0 commit comments

Comments
 (0)