Skip to content

Commit 3b79128

Browse files
committed
Add version input
1 parent af4214a commit 3b79128

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release-serde-api.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: "Infra: Release: Serde API"
22

3-
on: workflow_dispatch
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
required: true
8+
type: string
9+
description: Serde API version to release. Must not be a SNAPSHOT.
10+
default: 1.x.0
411

512
permissions:
613
contents: read
@@ -35,3 +42,4 @@ jobs:
3542
run: |
3643
./gradlew :serde-api:publish \
3744
-Prelease=true \
45+
-Pversion=${{ inputs.version }}

0 commit comments

Comments
 (0)