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