Skip to content

Commit 46c7296

Browse files
committed
add version input
1 parent 8fd3d10 commit 46c7296

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Build and Publish Compiler Plugin
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version to release'
8+
required: true
59

610
jobs:
711
build:
@@ -31,5 +35,6 @@ jobs:
3135
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
3236
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
3337
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
38+
VERSION: ${{ github.event.inputs.version }}
3439
run: |
3540
./gradlew publish

0 commit comments

Comments
 (0)