Skip to content

Commit

Permalink
Update test-version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adityamaru authored Nov 19, 2024
1 parent 87fa4f5 commit 4c2a3ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
- name: Set up Ruby
uses: useblacksmith/setup-ruby@v2
with:
ruby-version: 3.3.4
ruby-version: 3.3.6

- name: Verify Ruby version
run: |
installed_version=$(ruby -v | cut -d' ' -f2)
if [ "$installed_version" = "3.3.4" ]; then
if [ "$installed_version" = "3.3.6" ]; then
echo "Ruby version is correct: $installed_version"
else
echo "Ruby version is incorrect. Expected 3.3.4, but got $installed_version"
echo "Ruby version is incorrect. Expected 3.3.6, but got $installed_version"
exit 1
fi

0 comments on commit 4c2a3ee

Please sign in to comment.