From 5508ced9e23ac8ffefcebe3ac30897f2f4405b01 Mon Sep 17 00:00:00 2001 From: Simon Hirtreiter Date: Mon, 2 Sep 2024 16:07:59 +0200 Subject: [PATCH] :bug: ci maven build action bool as string --- .github/actions/build-maven/action.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/build-maven/action.yaml b/.github/actions/build-maven/action.yaml index 3ec9cbbb..20ff38a7 100644 --- a/.github/actions/build-maven/action.yaml +++ b/.github/actions/build-maven/action.yaml @@ -7,7 +7,7 @@ inputs: required: true release: description: 'Release?' - default: "false" + default: 'false' release-version: description: 'Release version' required: false @@ -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" @@ -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: |