We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9eb8ec commit 66a65efCopy full SHA for 66a65ef
.github/workflows/release.yml
@@ -1,6 +1,13 @@
1
name: Release on demand
2
3
-on: [workflow_dispatch]
+on:
4
+ workflow_call:
5
+ inputs:
6
+ deploy:
7
+ description: "Deploy to Maven Central"
8
+ required: true
9
+ default: false
10
+ type: boolean
11
12
jobs:
13
build:
@@ -28,7 +35,7 @@ jobs:
28
35
- name: Release
29
36
run: script/build
30
37
env:
31
- HUDSON: false
38
+ HUDSON: ${{ github.event.inputs.deploy }}
32
39
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
33
40
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
34
41
GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
0 commit comments