Replace deprecated workflow set-output commands

This commit is contained in:
Manna Harbour
2022-10-21 20:44:24 +11:00
parent aa33c0c539
commit cfeadfaa6f
3 changed files with 18 additions and 18 deletions

View File

@@ -65,7 +65,7 @@ jobs:
set-output()
{
json=`echo "$2" | jq -cnR 'inputs | split(",";"")'`
echo "::set-output name=$1::$json"
echo "$1=$json" >> $GITHUB_OUTPUT
}
set-output "board" "${{ github.event.inputs.board }}"
set-output "shield" "${{ github.event.inputs.shield }}"