Skip to content

Commit d3ee7d7

Browse files
committed
Fix
1 parent ace2baa commit d3ee7d7

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,7 @@ jobs:
2121
echo "LIBRARY_VERSION=$VERSION" >> $GITHUB_ENV
2222
- name: Set up Ruby
2323
uses: ruby/setup-ruby@v1
24-
if: ${{
25-
(env.LIBRARY_VERSION == '1' &&
26-
!startsWith(matrix.ruby, '3.4') &&
27-
!startsWith(matrix.ruby, '4.')
28-
) ||
29-
(env.LIBRARY_VERSION == '2' &&
30-
!startsWith(matrix.ruby, '2.6') &&
31-
!startsWith(matrix.ruby, '2.7') &&
32-
!startsWith(matrix.ruby, '3.0')
33-
)
34-
}}
24+
if: ${{ (env.LIBRARY_VERSION == '1' && !startsWith(matrix.ruby, '3.4') && !startsWith(matrix.ruby, '4.')) || (env.LIBRARY_VERSION == '2' && !startsWith(matrix.ruby, '2.6') && !startsWith(matrix.ruby, '2.7') && !startsWith(matrix.ruby, '3.0')) }}
3525
with:
3626
ruby-version: ${{ matrix.ruby }}
3727
bundler-cache: true

0 commit comments

Comments
 (0)