Skip to content

Commit

Permalink
Replace depreciated GHA set_output command
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawel Palucha authored and losipiuk committed Apr 27, 2023
1 parent d911d36 commit 0686ec2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,10 @@ function mavenProjectVersion() {
function set_output() {
# $1 = key
# $2 = value
echo "::set-output name=${1}::${2}"
delimiter="$(openssl rand -hex 8)"
{
echo "${1}<<${delimiter}"
echo "$2"
echo "${delimiter}"
} >> "$GITHUB_OUTPUT"
}

0 comments on commit 0686ec2

Please sign in to comment.