mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	CI: Replace set-output with environment file
				
					
				
			https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -13,8 +13,8 @@ jobs: | ||||
|       - name: Set variables | ||||
|         id: init | ||||
|         run: | | ||||
|           echo ::set-output name=tag::${GITHUB_REF#refs/tags/} | ||||
|           echo ::set-output name=version::${GITHUB_REF#refs/tags/v} | ||||
|           echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | ||||
|           echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v2 | ||||
|       - name: Write release body | ||||
| @@ -22,25 +22,25 @@ jobs: | ||||
|         run: | | ||||
|           FILENAME=RELEASE.md | ||||
|           extras/scripts/get-release-body.sh ${{ steps.init.outputs.tag }} CHANGELOG.md | tee $FILENAME | ||||
|           echo ::set-output name=filename::$FILENAME | ||||
|           echo "filename=$FILENAME" >> $GITHUB_OUTPUT | ||||
|       - name: Amalgamate ArduinoJson.h | ||||
|         id: amalgamate_h | ||||
|         run: | | ||||
|           FILENAME=ArduinoJson-${{ steps.init.outputs.tag }}.h | ||||
|           extras/scripts/build-single-header.sh src/ArduinoJson.h "$FILENAME" | ||||
|           echo ::set-output name=filename::$FILENAME | ||||
|           echo "filename=$FILENAME" >> $GITHUB_OUTPUT | ||||
|       - name: Amalgamate ArduinoJson.hpp | ||||
|         id: amalgamate_hpp | ||||
|         run: | | ||||
|           FILENAME=ArduinoJson-${{ steps.init.outputs.tag }}.hpp | ||||
|           extras/scripts/build-single-header.sh src/ArduinoJson.hpp "$FILENAME" | ||||
|           echo ::set-output name=filename::$FILENAME | ||||
|           echo "filename=$FILENAME" >> $GITHUB_OUTPUT | ||||
|       - name: Create Arduino package | ||||
|         id: arduino | ||||
|         run: | | ||||
|           FILENAME=ArduinoJson-${{ steps.init.outputs.tag }}.zip | ||||
|           extras/scripts/build-arduino-package.sh . "$FILENAME" | ||||
|           echo ::set-output name=filename::$FILENAME | ||||
|           echo "filename=$FILENAME" >> $GITHUB_OUTPUT | ||||
|       - name: Create release | ||||
|         uses: ncipollo/release-action@v1 | ||||
|         with: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user