Skip to content

Commit e7fa603

Browse files
committed
chore: #196 Allow to bypass Maven central deploy
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
1 parent fc3bdf3 commit e7fa603

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111
nextVersion:
1212
description: 'Next version after release (-SNAPSHOT will be added automatically)'
1313
required: true
14-
deployActive:
15-
description: 'Deploy Active value for JReleaser'
14+
deployMavenActive:
15+
description: 'Deploy Maven Active value for JReleaser (use NEVER if already pushed)'
1616
required: false
1717
default: 'ALWAYS'
1818
type: string
@@ -63,7 +63,7 @@ jobs:
6363
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
6464
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
6565
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
JRELEASER_DEPLOY_ACTIVE: ${{ github.event.inputs.deployActive }}
66+
JRELEASER_DEPLOY_MAVEN_ACTIVE: ${{ github.event.inputs.deployMavenActive }}
6767
run: mvn -N -Prelease jreleaser:assemble jreleaser:full-release
6868

6969
# Persist logs

0 commit comments

Comments
 (0)