Skip to content

Commit 57c9b99

Browse files
authored
Merge pull request #11 from genismoreno/fix/setting-output-through-github_output
Fix #9: deprecation of set-output by using GITHUB_OUTPUT envvar
2 parents 2aa01a9 + 191d7cc commit 57c9b99

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ new_version=$(echo "$raw_output" | grep -o 'new_version=\S*' | cut -d= -f2)
5353
# We should have all the information we need by this point
5454
# Set Outputs and log information
5555

56-
echo ::set-output name=old_ver::"$old_version"
57-
echo ::set-output name=new_ver::"$new_version"
58-
echo ::set-output name=part::"$part"
56+
echo "old_ver=$old_version" >> "$GITHUB_OUTPUT"
57+
echo "new_ver=$new_version" >> "$GITHUB_OUTPUT"
58+
echo "part=$part" >> "$GITHUB_OUTPUT"
5959

6060
echo "Semantic Version Part to Bump: $part"
6161
echo "Current Version: $old_version"

0 commit comments

Comments
 (0)