Skip to content

Commit

Permalink
fix check version script
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBesson committed Jul 18, 2024
1 parent 89b19c1 commit 5c1fd7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/reusable-check-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ jobs:
script: |
core.setFailed('Your Galaxy version is absent or empty!')
- name: Compare versions
if: ${{ inputs.compare-versions && env.MAIN_GALAXY_VERSION >= env.CURRENT_GALAXY_VERSION }}
uses: actions/github-script@v7
with:
script: |
core.setFailed('Your Galaxy version is lower than the version in the main branch or equal. Please bump your version!')
if (( ${{env.MAIN_GALAXY_VERSION}} >= ${{env.CURRENT_GALAXY_VERSION}} )); then
core.setFailed('Your Galaxy version is lower than the version in the main branch or equal. Please bump your version!')
fi

0 comments on commit 5c1fd7d

Please sign in to comment.