Skip to content

Commit c04c59d

Browse files
authored
Update release.yml
Added dry run Removed Branch
1 parent 5dec996 commit c04c59d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
type: string
1010
required: false
1111
default: "17"
12-
branch:
13-
description: "The branch to checkout when cutting the release."
14-
required: true
15-
default: "main"
1612
releaseVersion:
1713
description: "Version of the release."
1814
required: true
@@ -21,14 +17,19 @@
2117
description: "Version to use for new local working copy."
2218
required: true
2319
default: "X.Y+1.Z"
24-
20+
dryRun:
21+
description: "Perform a dry run"
22+
required: true
23+
default: false
24+
type: boolean
25+
2526
jobs:
2627
maven-release:
2728
uses: jqassistant-tooling/jqassistant-github-actions/.github/workflows/release.yml@main
2829
with:
29-
branch: ${{ github.event.inputs.branch }}
3030
releaseVersion: ${{ github.event.inputs.releaseVersion }}
3131
developmentVersion: "${{ github.event.inputs.developmentVersion }}-SNAPSHOT"
32+
dryRun: ${{ github.event.inputs.dryRun }}
3233
secrets:
3334
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
3435
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}

0 commit comments

Comments
 (0)