mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 00:32:37 +01:00 
			
		
		
		
	Add to IDF Component Registry (closes #1844)
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -16,7 +16,7 @@ jobs: | ||||
|           echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | ||||
|           echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v2 | ||||
|         uses: actions/checkout@v3 | ||||
|       - name: Write release body | ||||
|         id: body | ||||
|         run: | | ||||
| @@ -49,3 +49,15 @@ jobs: | ||||
|           name: ArduinoJson ${{ steps.init.outputs.version }} | ||||
|           artifacts: ${{ steps.amalgamate_h.outputs.filename }},${{ steps.amalgamate_hpp.outputs.filename }},${{ steps.arduino.outputs.filename }} | ||||
|           token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   idf: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v3 | ||||
|       - name: Upload component to the component registry | ||||
|         uses: espressif/upload-components-ci-action@v1 | ||||
|         with: | ||||
|           name: ArduinoJson | ||||
|           namespace: bblanchon | ||||
|           api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} | ||||
|   | ||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -15,3 +15,6 @@ | ||||
| # Used by CI for Particle | ||||
| /src/*.ino | ||||
| /project.properties | ||||
|  | ||||
| # Used by IDF | ||||
| /dist/ | ||||
|   | ||||
| @@ -1,17 +1,18 @@ | ||||
| <p align="center"> | ||||
|   <a href="https://arduinojson.org/"><img alt="ArduinoJson" src="logo.svg" /></a> | ||||
|   <a href="https://arduinojson.org/"><img alt="ArduinoJson" src="https://arduinojson.org/images/logo.svg" /></a> | ||||
| </p> | ||||
|  | ||||
| --- | ||||
|  | ||||
| [](https://github.com/bblanchon/ArduinoJson/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A6.x) | ||||
| [](https://github.com/bblanchon/ArduinoJson/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A6.x) | ||||
| [](https://ci.appveyor.com/project/bblanchon/arduinojson/branch/6.x) | ||||
| [](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:arduinojson) | ||||
| [](https://coveralls.io/github/bblanchon/ArduinoJson?branch=6.x)   | ||||
| [](https://www.ardu-badge.com/ArduinoJson/6.20.0) | ||||
| [](https://registry.platformio.org/packages/libraries/bblanchon/ArduinoJson?version=6.20.0)  | ||||
| [](https://github.com/bblanchon/ArduinoJson/stargazers) | ||||
| [](https://github.com/sponsors/bblanchon) | ||||
| [](https://components.espressif.com/components/bblanchon/arduinojson)   | ||||
| [](https://github.com/bblanchon/ArduinoJson/stargazers) | ||||
| [](https://github.com/sponsors/bblanchon) | ||||
|  | ||||
| ArduinoJson is a C++ JSON library for Arduino and IoT (Internet Of Things). | ||||
|  | ||||
|   | ||||
| @@ -38,6 +38,9 @@ update_version_in_source () { | ||||
| 	sed -i~ -bE "s/version: .*$/version: $VERSION.{build}/" appveyor.yml | ||||
| 	rm appveyor.yml~ | ||||
|  | ||||
| 	sed -i~ -bE "s/^version: .*$/version: \"$VERSION\"/" idf_component.yml | ||||
| 	rm idf_component.yml~ | ||||
|  | ||||
| 	sed -i~ -bE \ | ||||
| 		-e "s/ARDUINOJSON_VERSION .*$/ARDUINOJSON_VERSION \"$VERSION\"/" \ | ||||
| 		-e "s/ARDUINOJSON_VERSION_MAJOR .*$/ARDUINOJSON_VERSION_MAJOR $MAJOR/" \ | ||||
|   | ||||
							
								
								
									
										12
									
								
								idf_component.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								idf_component.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| version: "6.20.0" | ||||
| description: >- | ||||
|   A simple and efficient JSON library for embedded C++. | ||||
|   ArduinoJson supports ✔ serialization, ✔ deserialization, ✔ MessagePack, ✔ fixed allocation, ✔ zero-copy, ✔ streams, ✔ filtering, and more. | ||||
|   It is the most popular Arduino library on GitHub ❤❤❤❤❤. | ||||
|   Check out arduinojson.org for a comprehensive documentation. | ||||
| url: https://arduinojson.org/ | ||||
| files: | ||||
|   exclude: | ||||
|     - "**/.vs/**/*" | ||||
|     - "examples/**/*" | ||||
|     - "extras/**/*" | ||||
		Reference in New Issue
	
	Block a user