Skip to content

Commit 9599048

Browse files
committed
chore: change macos-14 to macos-latest
macos-latest now uses M1 macs. so we don't need to specify macos-14 anymore
1 parent 6cb375f commit 9599048

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-templates.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
os:
30-
- ubuntu-latest
31-
- macos-14 # macos latest defaults to macos 12 at the moment.
30+
- ubuntu
31+
- macos
3232
type:
3333
- turbo-module
3434
- fabric-view
@@ -56,7 +56,7 @@ jobs:
5656
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type }}-${{ matrix.language }}
5757
cancel-in-progress: true
5858

59-
runs-on: ${{ matrix.os }}
59+
runs-on: ${{ matrix.os }}-latest
6060

6161
steps:
6262
- name: Checkout
@@ -129,14 +129,14 @@ jobs:
129129
working-directory: ${{ env.work_dir }}
130130
run: |
131131
# Build Android for only some matrices to skip redundant builds
132-
if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
132+
if [[ ${{ matrix.os }} == ubuntu ]]; then
133133
if [[ ${{ matrix.type }} == *-view && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == *-objc ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == cpp ]]; then
134134
echo "android_build=1" >> $GITHUB_ENV
135135
fi
136136
fi
137137
138138
# Build iOS for only some matrices to skip redundant builds
139-
if [[ ${{ matrix.os }} == macos-14 ]]; then
139+
if [[ ${{ matrix.os }} == macos ]]; then
140140
if [[ ${{ matrix.type }} == *-view && ${{ matrix.language }} == kotlin-* ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == kotlin-* ]] || [[ ${{ matrix.type }} == *-module && ${{ matrix.language }} == cpp ]]; then
141141
echo "ios_build=1" >> $GITHUB_ENV
142142
fi

packages/create-react-native-library/templates/common/$.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
109109
110110
build-ios:
111-
runs-on: macos-14
111+
runs-on: macos-latest
112112
env:
113113
TURBO_CACHE_DIR: .turbo/ios
114114
steps:

0 commit comments

Comments
 (0)