-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use third party semver compare action
- Loading branch information
1 parent
5c1fd7d
commit b7c6386
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,9 +50,8 @@ jobs: | |
script: | | ||
core.setFailed('Your Galaxy version is absent or empty!') | ||
- name: Compare versions | ||
uses: actions/github-script@v7 | ||
uses: jackbilestech/[email protected] | ||
with: | ||
script: | | ||
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 | ||
head: ${{env.MAIN_GALAXY_VERSION}} | ||
base: ${{env.CURRENT_GALAXY_VERSION}} | ||
operator: '>=' |