Skip to content

Commit 116521a

Browse files
committed
[skip ci] remove azure upload and cleanup action inputs format
1 parent 88c39cd commit 116521a

File tree

1 file changed

+14
-20
lines changed

1 file changed

+14
-20
lines changed

.github/workflows/release-branch.yml

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Release Agent
33
on:
44
workflow_dispatch:
55
inputs:
6-
githubRelease:
7-
description: 'Setup release in github'
8-
type: boolean
9-
default: false
106
packageVersion:
117
description: 'Package version number'
128
default: "3.0.0"
@@ -15,26 +11,26 @@ on:
1511
description: 'Package Build number'
1612
default: "1"
1713
type: string
18-
uploadAzure:
19-
description: 'Publish packages Azure storage'
20-
default: true
21-
type: boolean
22-
publishPackages:
23-
description: 'Publish packages to nginx repo'
24-
default: true
25-
type: boolean
14+
releaseBranch:
15+
description: 'Release branch to build & publish from'
16+
required: true
17+
type: string
2618
tagRelease:
2719
description: 'Add tag to release branch'
2820
default: false
2921
type: boolean
22+
githubRelease:
23+
description: 'Setup release in github'
24+
type: boolean
25+
default: false
3026
createPullRequest:
3127
description: 'Create pull request back into main'
3228
default: false
3329
type: boolean
34-
releaseBranch:
35-
description: 'Release branch to build & publish from'
36-
required: true
37-
type: string
30+
publishPackages:
31+
description: 'Publish packages to nginx repo'
32+
default: true
33+
type: boolean
3834
uploadUrl:
3935
description: 'Location to publish packages to'
4036
required: false
@@ -60,10 +56,9 @@ jobs:
6056
name: Set workflow variables
6157
runs-on: ubuntu-22.04
6258
outputs:
59+
tag_release: ${{steps.vars.outputs.tag_release }}
6360
github_release: ${{steps.vars.outputs.github_release }}
64-
upload_azure: ${{steps.vars.outputs.upload_azure }}
6561
publish_packages: ${{steps.vars.outputs.publish_packages }}
66-
tag_release: ${{steps.vars.outputs.tag_release }}
6762
create_pull_request: ${{steps.vars.outputs.create_pull_request }}
6863
steps:
6964
- name: Checkout Repository
@@ -74,10 +69,9 @@ jobs:
7469
- name: Set variables
7570
id: vars
7671
run: |
72+
echo "tag_release=${{ inputs.tagRelease }}" >> $GITHUB_OUTPUT
7773
echo "github_release=${{ inputs.githubRelease }}" >> $GITHUB_OUTPUT
78-
echo "upload_azure=${{ inputs.uploadAzure }}" >> $GITHUB_OUTPUT
7974
echo "publish_packages=${{ inputs.publishPackages }}" >> $GITHUB_OUTPUT
80-
echo "tag_release=${{ inputs.tagRelease }}" >> $GITHUB_OUTPUT
8175
echo "create_pull_request=${{ inputs.createPullRequest }}" >> $GITHUB_OUTPUT
8276
cat $GITHUB_OUTPUT
8377

0 commit comments

Comments
 (0)