Skip to content

Commit a8cafa2

Browse files
facontidavideclaude
andcommitted
Fix conda CI: remove context override, add manual dispatch filter
- Remove ros_distro from recipe context block so --variant actually overrides it (context vars take precedence over CLI variants) - Add workflow_dispatch input to select a single ROS distro for debugging Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Entire-Checkpoint: f52b7c6b3ab6
1 parent 17e6374 commit a8cafa2

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/conda.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ on:
44
push:
55
tags: ['*']
66
workflow_dispatch:
7+
inputs:
8+
ros_distro:
9+
description: 'ROS distro to build (leave empty for all)'
10+
required: false
11+
type: choice
12+
options:
13+
- all
14+
- humble
15+
- jazzy
16+
- kilted
17+
default: all
718

819
permissions:
920
contents: read
@@ -27,6 +38,9 @@ jobs:
2738
robostack_channel: robostack-kilted
2839
runs-on: ubuntu-latest
2940
name: conda-${{ matrix.ros_distro }}
41+
if: >-
42+
inputs.ros_distro == '' || inputs.ros_distro == 'all'
43+
|| inputs.ros_distro == matrix.ros_distro
3044
3145
steps:
3246
- uses: actions/checkout@v4

conda.recipe/recipe.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
context:
22
version: "0.4.0"
3-
ros_distro: humble # overridden by --variant at build time
43

54
package:
65
name: pj-bridge-ros2-${{ ros_distro }}

0 commit comments

Comments
 (0)