Skip to content

Commit ca63c90

Browse files
committed
Set up JDK 17 for React Native build
1 parent c720b1f commit ca63c90

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ jobs:
160160
working-directory: ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
161161
run: yarn info react-redux && yarn why react-redux
162162

163+
- name: Set up JDK 17 for React Native build
164+
if: matrix.example == 'react-native'
165+
uses: actions/setup-java@v4
166+
with:
167+
java-version: '17.x'
168+
distribution: 'temurin'
169+
163170
- name: Build example
164171
working-directory: ./redux-toolkit/examples/publish-ci/${{ matrix.example }}
165172
run: NODE_OPTIONS=--openssl-legacy-provider yarn build

0 commit comments

Comments
 (0)