Skip to content

Commit

Permalink
Properly build tvos app in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Pierron committed Nov 17, 2023
1 parent 732586a commit 8e9df67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tvos-build-test-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
run: RCT_NEW_ARCH_ENABLED=1 pod install
- name: Build app
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn tvos
run: yarn build:tvos
2 changes: 1 addition & 1 deletion .github/workflows/tvos-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
run: pod install
- name: Build app
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn tvos
run: yarn build:tvos
2 changes: 1 addition & 1 deletion TvOSExample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"tvos": "react-native run-ios --scheme TvOSExample-tvOS --simulator \"Apple TV\"",
"build:tvos": "xcodebuild clean build -workspace ios/TvOSExample.xcworkspace -scheme TvOSExample-tvOS -destination 'platform=tvOS Simulator' CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO",
"start": "react-native start",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"test": "jest"
Expand Down

0 comments on commit 8e9df67

Please sign in to comment.