Skip to content

Commit

Permalink
🐛 ci maven build action bool as string
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhir committed Sep 2, 2024
1 parent 7c97eb4 commit 5508ced
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/build-maven/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
required: true
release:
description: 'Release?'
default: "false"
default: 'false'
release-version:
description: 'Release version'
required: false
Expand Down Expand Up @@ -49,11 +49,11 @@ runs:
gpg-private-key: ${{ inputs.gpg-private-key }}
gpg-passphrase: SIGN_KEY_PASS
- name: Maven build
if: ${{ inputs.release != true }}
if: ${{ inputs.release != 'true' }}
shell: bash
run: mvn -f ./${{ inputs.module }}/pom.xml --batch-mode clean install
- name: Maven release
if: ${{ inputs.release == true }}
if: ${{ inputs.release == 'true' }}
shell: bash
run: |
git config --global user.email "github-actions@github.com"
Expand All @@ -71,13 +71,13 @@ runs:
path: "**/target"
retention-days: 5
- name: Push changes to new branch
if: ${{ inputs.release == true }}
if: ${{ inputs.release == 'true' }}
shell: bash
run: |
git checkout -b ${{ github.ref_name }}-version-bump
git push --force origin ${{ github.ref_name }}-version-bump
- name: Create pull request
if: ${{ inputs.release == true }}
if: ${{ inputs.release == 'true' }}
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
Expand Down

0 comments on commit 5508ced

Please sign in to comment.