Skip to content

Commit

Permalink
fix: Fix milestone create output
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Oct 26, 2024
1 parent 4e8a88b commit cc87b99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nu/milestone.nu
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ export def create-milestone [
let milestone = $result | from json
print $'Milestone (ansi p)($milestone.title)(ansi reset) with NO. (ansi p)($milestone.number)(ansi reset) was created successfully.'
if 'GITHUB_OUTPUT' in $env {
print 'Set output for milestone create Github Action:'
echo $'milestone_number=($milestone.number)' | save --append $env.GITHUB_OUTPUT
}
}
Expand Down

0 comments on commit cc87b99

Please sign in to comment.