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:
Benoit Blanchon
2022-12-19 14:58:15 +01:00
parent d602232b9f
commit 2a32803e9e
2 changed files with 8 additions and 8 deletions

View File

@@ -482,7 +482,7 @@ jobs:
INPUT=src/ArduinoJson.h
OUTPUT=ArduinoJson-$VERSION.h
extras/scripts/build-single-header.sh "$INPUT" "$OUTPUT"
echo ::set-output name=filename::${OUTPUT}
echo "filename=${OUTPUT}" >> $GITHUB_OUTPUT
- name: Smoke test
run: |
g++ -x c++ - <<END
@@ -516,7 +516,7 @@ jobs:
INPUT=src/ArduinoJson.hpp
OUTPUT=ArduinoJson-$VERSION.hpp
extras/scripts/build-single-header.sh "$INPUT" "$OUTPUT"
echo ::set-output name=filename::${OUTPUT}
echo "filename=${OUTPUT}" >> $GITHUB_OUTPUT
- name: Smoke test
run: |
g++ -x c++ - <<END