Skip to content

Commit 667746d

Browse files
committed
Upload to the ESP component registry
1 parent 6cd0b34 commit 667746d

24 files changed

Lines changed: 88 additions & 22 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Upload ESP Component Registry
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- kilted
8+
workflow_dispatch:
9+
10+
jobs:
11+
upload_components:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
id-token: write
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Upload component to the component registry
20+
uses: espressif/upload-components-ci-action@v2
21+
with:
22+
components: "micro_ros_espidf_component:."
23+
namespace: "micro-ros"
24+
dry_run: ${{ github.event_name == 'pull_request' || github.ref_name != 'kilted' }}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
22

3-
set (EXTRA_COMPONENT_DIRS "./../../.")
4-
53
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
64
project(addtwoints_server)
75

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
micro-ros/micro_ros_espidf_component:
3+
version: "^25.0.0"
4+
override_path: "../../../"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
22

3-
set (EXTRA_COMPONENT_DIRS "./../../.")
4-
53
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
64
project(handle_static_types)
75

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
micro-ros/micro_ros_espidf_component:
3+
version: "^25.0.0"
4+
override_path: "../../../"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
22

3-
set (EXTRA_COMPONENT_DIRS "./../../.")
4-
53
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
64
project(int32_publisher)
75

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
micro-ros/micro_ros_espidf_component:
3+
version: "^25.0.0"
4+
override_path: "../../../"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
22

3-
set (EXTRA_COMPONENT_DIRS "./../../.")
4-
53
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
64
project(int32_publisher)
75

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
micro-ros/micro_ros_espidf_component:
3+
version: "^25.0.0"
4+
override_path: "../../../"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
22

3-
set (EXTRA_COMPONENT_DIRS "./../../.")
4-
53
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
64
project(int32_publisher)
75

0 commit comments

Comments
 (0)