Skip to content

Commit

Permalink
ci: move matrix to jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 8, 2024
1 parent 064d191 commit eb0fa78
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/review-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
# Review calls this Workflow

jobs:
strategy:
matrix:
new-arch: [ false, true ]
build-android:
name: Build ${{ matrix.new-arch && 'new' || 'old'}} Arch
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/react-native-app
strategy:
matrix:
new-arch: [false, true]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -59,6 +59,9 @@ jobs:
defaults:
run:
working-directory: ./packages/react-native-app
strategy:
matrix:
new-arch: [false, true]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/review-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
# Review calls this Workflow

jobs:
strategy:
matrix:
new-arch: [ false, true ]
build-ios:
name: Build ${{ matrix.new-arch && 'new' || 'old'}} Arch
runs-on: macos-latest
defaults:
run:
working-directory: ./packages/react-native-app
strategy:
matrix:
new-arch: [false, true]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -67,6 +67,9 @@ jobs:
defaults:
run:
working-directory: ./packages/react-native-app
strategy:
matrix:
new-arch: [false, true]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit eb0fa78

Please sign in to comment.