We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a932019 commit d2053a7Copy full SHA for d2053a7
.github/workflows/release.yml
@@ -2,6 +2,10 @@ name: Publish package to the Maven Central Repository
2
3
on:
4
workflow_dispatch:
5
+ inputs:
6
+ version:
7
+ required: true
8
+
9
10
jobs:
11
publish:
@@ -19,7 +23,7 @@ jobs:
19
23
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
20
24
gpg-passphrase: MAVEN_GPG_PASSPHRASE
21
25
- name: Set version
22
- run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}
26
+ run: mvn versions:set -DnewVersion=${{ github.event.inputs.version }}
27
- name: Publish package
28
run: mvn -P release --batch-mode deploy -DskipTests
29
env:
0 commit comments