From b1780edf4d19d751add1856c2f4d05ac06908cd6 Mon Sep 17 00:00:00 2001 From: Pierre Besson Date: Thu, 18 Jul 2024 18:24:25 +0200 Subject: [PATCH] add missing if compare-version to pipeline --- .github/workflows/reusable-check-version.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-check-version.yml b/.github/workflows/reusable-check-version.yml index d196d60..bb72318 100644 --- a/.github/workflows/reusable-check-version.yml +++ b/.github/workflows/reusable-check-version.yml @@ -50,8 +50,9 @@ jobs: script: | core.setFailed('Your Galaxy version is absent or empty!') - name: Compare versions + if: ${{ inputs.compare-versions }} uses: jackbilestech/semver-compare@1.0.4 with: - base: ${{env.MAIN_GALAXY_VERSION}} - head: ${{env.CURRENT_GALAXY_VERSION}} + base: ${{ env.MAIN_GALAXY_VERSION }} + head: ${{ env.CURRENT_GALAXY_VERSION }} operator: '>='