We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21bcba2 commit 52b450dCopy full SHA for 52b450d
1 file changed
.github/workflows/publish.yml
@@ -2,6 +2,16 @@ name: Publish
2
on:
3
release:
4
types: [released, prereleased]
5
+ workflow_dispatch:
6
+ inputs:
7
+ module:
8
+ description: 'Module to publish'
9
+ required: false
10
+ type: choice
11
+ options:
12
+ - ''
13
+ - ':chasm-gradle-plugin:'
14
+ default: ''
15
jobs:
16
publish:
17
name: Release build and publish
@@ -17,7 +27,7 @@ jobs:
27
java-version: '21'
18
28
19
29
- name: Publish to MavenCentral
20
- run: ./gradlew publishToMavenCentral --no-configuration-cache
30
+ run: ./gradlew ${{ github.event.inputs.module }}publishToMavenCentral --no-configuration-cache
21
31
env:
22
32
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
23
33
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
0 commit comments