Skip to content

Commit

Permalink
chore(ci): dry-run flag is a job parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeanroy committed Nov 12, 2023
1 parent 71115b7 commit 379ca89
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ on:
developmentVersion:
description: "Snapshot version"
required: true
dry_run:
description: Run dry-run release
required: true
type: choice
default: 'true'
options:
- 'true'
- 'false'

jobs:
build:
Expand Down Expand Up @@ -62,7 +70,7 @@ jobs:
./mvnw -B -U \
release:prepare \
release:perform \
-DdryRun \
-DdryRun=${{ inputs.dry_run }} \
-Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }} \
-DreleaseVersion=${{ github.event.inputs.releaseVersion }} \
-DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} \
Expand Down

0 comments on commit 379ca89

Please sign in to comment.