return milestone id
This commit is contained in:
parent
a1d1957d29
commit
caa077592a
@ -11,11 +11,17 @@ on:
|
||||
newName:
|
||||
required: true
|
||||
type: string
|
||||
outputs:
|
||||
milestoneId:
|
||||
description: "Milestone Id"
|
||||
value: ${{ jobs.rename.outputs.milestoneId }}
|
||||
jobs:
|
||||
rename:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
downloadUrl: ${{ steps.Rename.outputs.milestoneId }}
|
||||
steps:
|
||||
- name: Rename
|
||||
- id: Rename
|
||||
run: |
|
||||
GITEA_API_URL="https://gitea.greyhound-software.com/api/v1"
|
||||
OWNER="greyhound"
|
||||
@ -55,4 +61,5 @@ jobs:
|
||||
-d "$milestone_data" \
|
||||
"$GITEA_API_URL/repos/$OWNER/${{ inputs.repo }}/milestones")
|
||||
|
||||
echo "milestoneId=$update_milestone_id" >> $GITHUB_OUTPUT
|
||||
echo "Created new '${{ inputs.currentName }}' milestone: $response"
|
Loading…
Reference in New Issue
Block a user