docs: updated docs with new way of saving output

This commit is contained in:
Alin Stefan Olaru 2022-10-27 12:17:26 +02:00
parent 437c49a57c
commit d80d378639
No known key found for this signature in database
GPG key ID: D334ECD30E8A1616

View file

@ -36,7 +36,7 @@ test:
OUTPUT="${OUTPUT//'%'/'%25'}【7,6 m】"
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
echo "::set-output name=result::$OUTPUT"
echo "result=$OUTPUT" >> $GITHUB_OUTPUT
- uses: marocchino/sticky-pull-request-comment@v2
with:
header: test
@ -58,7 +58,7 @@ test:
OUTPUT="${OUTPUT//'%'/'%25'}【7,6 m】"
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
echo "::set-output name=result::$OUTPUT"
echo "result=$OUTPUT" >> $GITHUB_OUTPUT
- uses: marocchino/sticky-pull-request-comment@v2
with:
append: true