Skip to content

Commit dc00109

Browse files
committed
Correctly configure the matrix
1 parent a6afa42 commit dc00109

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test-libraries-on-nightlies.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ jobs:
8181
shell: bash
8282
run: |
8383
cd /tmp/RNApp
84-
yarn add ${{ inputs.library-npm-package }}
84+
yarn add ${{ matrix.library }}
8585
8686
# iOS
8787
- name: Setup xcode
88-
if: ${{ inputs.platform == 'ios' }}
88+
if: ${{ matrix.platform == 'ios' }}
8989
uses: ./.github/actions/setup-xcode
9090
- name: Build iOS
9191
shell: bash
92-
if: ${{ inputs.platform == 'ios' }}
92+
if: ${{ matrix.platform == 'ios' }}
9393
run: |
9494
cd /tmp/RNApp/ios
9595
bundle install
@@ -101,14 +101,14 @@ jobs:
101101
102102
# Android
103103
- name: Setup Java for Android
104-
if: ${{ inputs.platform == 'android' }}
104+
if: ${{ matrix.platform == 'android' }}
105105
uses: actions/setup-java@v2
106106
with:
107107
java-version: '17'
108108
distribution: 'zulu'
109109
- name: Build Android
110110
shell: bash
111-
if: ${{ inputs.platform == 'android' }}
111+
if: ${{ matrix.platform == 'android' }}
112112
run: |
113113
cd /tmp/RNApp/android
114114
./gradlew assembleDebug

0 commit comments

Comments
 (0)