Skip to content

Commit

Permalink
Fix workflow commit branch
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelva committed Dec 23, 2024
1 parent ffbf297 commit a7b662a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/update_parent_nuxeo_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ name: Update Nuxeo Version

on:
workflow_dispatch:
targetVersion:
description: 'The target nuxeo version to apply'
required: true
type: string
inputs:
targetVersion:
description: 'The target nuxeo version to apply'
required: true
type: string

jobs:
build:
Expand Down Expand Up @@ -43,7 +44,7 @@ jobs:
]
- name: Build with Maven
run: mvn versions:update-parent -DparentVersion=${{ inputs.targetVersion }} -DskipResolution=${{ inputs.targetVersion && 'true' || 'false' }}
run: mvn versions:update-parent -DparentVersion=${{ inputs.targetVersion }} -DskipResolution=${{ inputs.targetVersion && 'true' || 'false' }} -DgenerateBackupPoms=false

- name: Set up Git configuration
run: |
Expand All @@ -59,4 +60,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push origin HEAD:main
git push origin HEAD:${{ github.ref_name }}

0 comments on commit a7b662a

Please sign in to comment.