Skip to content

Commit

Permalink
Use simulator step output
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Pierron committed Nov 17, 2023
1 parent 870d819 commit 0c97527
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tvos-build-test-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@ jobs:
- name: Install pods
working-directory: ${{ env.WORKING_DIRECTORY }}/ios
run: RCT_NEW_ARCH_ENABLED=1 pod install
- uses: futureware-tech/simulator-action@v3
- name: Start simulator
id: start-simulator
uses: futureware-tech/simulator-action@v3
with:
os: tvOS
- name: Build app
uses: sersoft-gmbh/xcodebuild-action@v3
with:
workspace: ${{ env.WORKING_DIRECTORY }}/ios/FabricTvOSExample.xcworkspace
scheme: FabricTvOSExample-tvOS
destination: platform=tvOS Simulator
destination: platform=TvOS Simulator, id=${{ steps.start-simulator.outputs.udid }}
action: clean build
build-settings: CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
6 changes: 4 additions & 2 deletions .github/workflows/tvos-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@ jobs:
- name: Install pods
working-directory: ${{ env.WORKING_DIRECTORY }}/ios
run: pod install
- uses: futureware-tech/simulator-action@v3
- name: Start simulator
id: start-simulator
uses: futureware-tech/simulator-action@v3
with:
os: tvOS
- name: Build app
uses: sersoft-gmbh/xcodebuild-action@v3
with:
workspace: ${{ env.WORKING_DIRECTORY }}/ios/TvOSExample.xcworkspace
scheme: TvOSExample-tvOS
destination: platform=tvOS Simulator
destination: platform=TvOS Simulator, id=${{ steps.start-simulator.outputs.udid }}
action: clean build
build-settings: CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO

0 comments on commit 0c97527

Please sign in to comment.