Skip to content

Commit

Permalink
Warning: The set-output command is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jan 18, 2023
1 parent 51a9eda commit 46bae02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inputs:
required: true
default: 'core'
arch:
description: 'Rebol architecture (x32 or x64)'
description: 'Rebol architecture (x32, x64 or arm64)'
required: true
default: 'x64'

Expand Down Expand Up @@ -46,7 +46,7 @@ runs:
gunzip ./${FILE}.gz
mv ./${FILE} ./rebol3
chmod +x ./rebol3
echo "::set-output name=REBOL3::$(realpath rebol3)"
echo "REBOL3=$(realpath rebol3)" >> $GITHUB_OUTPUT
elif [ "$RUNNER_OS" == "macOS" ]; then
export FILE=${FILEBASE}-macos-${{ inputs.arch }}
Expand All @@ -55,12 +55,12 @@ runs:
gunzip ./${FILE}.gz
mv ./${FILE} ./rebol3
chmod +x ./rebol3
echo "::set-output name=REBOL3::$(echo $PWD/rebol3)"
echo "REBOL3=$(echo $PWD/rebol3)" >> $GITHUB_OUTPUT
elif [ "$RUNNER_OS" == "Windows" ]; then
export FILE=${FILEBASE}-windows-${{ inputs.arch }}.exe
echo Downloading: $DOWNLOAD_URL/$FILE
curl -sSLJO $DOWNLOAD_URL/$FILE
mv ./$FILE ./rebol3.exe
echo "::set-output name=REBOL3::$(realpath rebol3.exe)"
echo "REBOL3=$(realpath rebol3.exe)" >> $GITHUB_OUTPUT
fi

0 comments on commit 46bae02

Please sign in to comment.