diff --git a/nu/milestone.nu b/nu/milestone.nu index 2f1c09d..3290eec 100644 --- a/nu/milestone.nu +++ b/nu/milestone.nu @@ -181,10 +181,8 @@ export def create-milestone [ let result = gh api -X POST $'/repos/($repo)/milestones' -F $'title=($title)' ...$dueOnArg ...$descArg 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 - } + print 'Set output for milestone create Github Action:' + echo $'milestone_number=($milestone.number)' | save --append $env.GITHUB_OUTPUT } # Close milestone for a repository by title or number.