diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index d47f5ee..459906c 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -34,7 +34,7 @@ jobs: # The following command will trigger the build.yml workflow as it pushes a alpha tag ./gradlew markNextVersion -Prelease.incrementer=increment${{ github.event.inputs.part }} - name: Set next version - if: !contains(fromJson('["Major", "Minor", "Patch"]'), github.event.inputs.part) + if: (!contains(fromJson('["Major", "Minor", "Patch"]'), github.event.inputs.part)) run: | # The following command will trigger the build.yml workflow as it pushes a alpha tag ./gradlew markNextVersion -Prelease.version=${{ github.event.inputs.part }}