Skip to content

Commit a93ccaa

Browse files
committed
Update tests.yml file
1 parent 5db5984 commit a93ccaa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,13 @@ jobs:
183183
- name: Show installed RTK versions
184184
run: yarn info @reduxjs/toolkit && yarn why @reduxjs/toolkit
185185

186+
- name: Set up JDK 17 for React Native build
187+
if: matrix.example == 'react-native' || matrix.example == 'expo'
188+
uses: actions/setup-java@v2
189+
with:
190+
java-version: '17.x'
191+
distribution: 'temurin'
192+
186193
- name: Build example
187194
run: NODE_OPTIONS=--openssl-legacy-provider yarn build
188195

0 commit comments

Comments
 (0)