-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add action for uploading component to registry
this commit also modifies the path and version of dependencies in the examples
- Loading branch information
1 parent
dfb7e6d
commit 95afb10
Showing
6 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Push component to https://components.espressif.com | ||
# on: [push, pull_request] | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
jobs: | ||
upload_components: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: "recursive" | ||
|
||
- name: Upload component to the component registry | ||
uses: espressif/upload-components-ci-action@v1 | ||
with: | ||
name: "esp-idf-cxx" | ||
version: ${{ github.ref_name }} | ||
namespace: "espressif" | ||
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
idf: | ||
version: ">=5.0" | ||
esp-idf-cxx: | ||
path: ../../../ | ||
version: ">=0.1" | ||
espressif/esp-idf-cxx: | ||
override_path: ../../../ | ||
version: "^1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
idf: | ||
version: ">=5.0" | ||
esp-idf-cxx: | ||
path: ../../../ | ||
version: ">=0.1" | ||
espressif/esp-idf-cxx: | ||
override_path: ../../../ | ||
version: "^1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
idf: | ||
version: ">=5.0" | ||
esp-idf-cxx: | ||
path: ../../../ | ||
version: ">=0.1" | ||
espressif/esp-idf-cxx: | ||
override_path: ../../../ | ||
version: "^1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
idf: | ||
version: ">=5.0" | ||
esp-idf-cxx: | ||
path: ../../../ | ||
version: ">=0.1" | ||
espressif/esp-idf-cxx: | ||
override_path: ../../../ | ||
version: "^1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
idf: | ||
version: ">=5.0" | ||
esp-idf-cxx: | ||
path: ../../../ | ||
version: ">=0.1" | ||
espressif/esp-idf-cxx: | ||
override_path: ../../../ | ||
version: "^1.0.0" |