File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 55
55
missing_menu_docs="${missing_menu_docs//'%'/'%25'}"
56
56
missing_menu_docs="${missing_menu_docs//$'\n'/'%0A'}"
57
57
missing_menu_docs="${missing_menu_docs//$'\r'/'%0D'}"
58
- echo ::set-output name =missing_menu_docs::$missing_menu_docs
58
+ echo "missing_menu_docs =missing_menu_docs" >> $GITHUB_OUTPUT
59
59
if [[ $result_code ]]; then
60
60
echo "$(cat check_component.log)" >> $GITHUB_STEP_SUMMARY
61
61
else
@@ -137,8 +137,8 @@ jobs:
137
137
chmod +x continuous_integration/generate-documentation.sh
138
138
sh continuous_integration/generate-documentation.sh 2>&1 | tee doxygen_run_output.log
139
139
result_code=${PIPESTATUS[0]}
140
- echo "::set-output name= doxygen_warnings:: $(cat docs/output_doxygen.log)"
141
- echo "::set-output name= mcss_warnings:: $(cat docs/output_mcss.log)"
140
+ echo "doxygen_warnings= $(cat docs/output_doxygen.log)" >> $GITHUB_OUTPUT
141
+ echo "mcss_warnings= $(cat docs/output_mcss.log)" >> $GITHUB_OUTPUT
142
142
echo "## Doxygen completed with the following warnings:" >> $GITHUB_STEP_SUMMARY
143
143
echo "$(cat docs/output_doxygen.log)" >> $GITHUB_STEP_SUMMARY
144
144
echo "" >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ jobs:
146
146
# id: get_release_name
147
147
# run: |
148
148
# release_name=$(echo ${{steps.changelog_reader.outputs.changes}} | cut -d '\n' -f 1)
149
- # echo "::set-output name =release_name::$release_name"
149
+ # echo "release_name =release_name" >> $GITHUB_OUTPUT
150
150
151
151
# Create a new release
152
152
- name : Create release
Original file line number Diff line number Diff line change 36
36
manifest_errors="${manifest_errors//'%'/'%25'}"
37
37
manifest_errors="${manifest_errors//$'\n'/'%0A'}"
38
38
manifest_errors="${manifest_errors//$'\r'/'%0D'}"
39
- echo ::set-output name =manifest_errors::$manifest_errors
39
+ echo "manifest_errors =manifest_errors" >> $GITHUB_OUTPUT
40
40
echo "$(cat validate_manifest.log)" >> $GITHUB_STEP_SUMMARY
41
41
echo "Finished library.json manifest verification"
42
42
exit $result_code
83
83
lint_errors="${lint_errors//'%'/'%25'}"
84
84
lint_errors="${lint_errors//$'\n'/'%0A'}"
85
85
lint_errors="${lint_errors//$'\r'/'%0D'}"
86
- echo ::set-output name =lint_errors::$lint_errors
86
+ echo "lint_errors =lint_errors" >> $GITHUB_OUTPUT
87
87
echo "$(cat arduino_lint.md)" >> $GITHUB_STEP_SUMMARY
88
88
89
89
- name : Create commit comment
Original file line number Diff line number Diff line change @@ -679,13 +679,17 @@ def extend_pio_config(added_envs):
679
679
680
680
#%%
681
681
# Write out output
682
- print ("::set-output name=arduino_job_matrix::{}" .format (json .dumps (arduino_job_matrix )))
682
+ print (
683
+ 'echo "arduino_job_matrix={}" >> $GITHUB_OUTPUT' .format (
684
+ json .dumps (arduino_job_matrix )
685
+ )
686
+ )
683
687
json_out = open (os .path .join (artifact_dir , "arduino_job_matrix.json" ), "w+" )
684
688
json .dump (arduino_job_matrix , json_out , indent = 2 )
685
689
json_out .close ()
686
690
687
691
688
- print ("::set-output name= pio_job_matrix:: {}" .format (json .dumps (pio_job_matrix )))
692
+ print ('echo " pio_job_matrix= {}" >> $GITHUB_OUTPUT' .format (json .dumps (pio_job_matrix )))
689
693
json_out = open (os .path .join (artifact_dir , "pio_job_matrix.json" ), "w+" )
690
694
json .dump (pio_job_matrix , json_out , indent = 2 )
691
695
json_out .close ()
You can’t perform that action at this time.
0 commit comments