Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Added dry run 
Removed Branch inputs
  • Loading branch information
yaseno2186 authored Jul 19, 2024
1 parent 2e0d508 commit 0598a59
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
type: string
required: false
default: 17
branch:
description: "The branch to checkout when cutting the release."
required: true
default: "main"
releaseVersion:
description: "Default version to use when preparing a release."
required: true
Expand All @@ -21,14 +17,19 @@ on:
description: "Default version to use for new local working copy."
required: true
default: "X.Y.Z-SNAPSHOT"

dryRun:
description: "Perform a dry run"
required: true
default: false
type: boolean

jobs:
build:
uses: jqassistant-tooling/jqassistant-github-actions/.github/workflows/release.yml@main
with:
branch: ${{ github.event.inputs.branch }}
releaseVersion: ${{ github.event.inputs.releaseVersion }}
developmentVersion: ${{ github.event.inputs.developmentVersion }}
dryRun: ${{ github.event.inputs.dryRun }}
secrets:
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
Expand Down

0 comments on commit 0598a59

Please sign in to comment.