Skip to content

Commit c3b46b4

Browse files
authored
Add workflow that builds tvOS (#484)
Fixed up workflow to build Unity for tvOS targets. Workflow is triggered by manual triggers still - and not by the `Firebase Unity SDK build` which kicks-off builds for all of the platforms. This is simply so we don't release the tvOS libraries. Later, when the tvOS release is ready, we'll add this `Build tvOS (SubWorkflow)` to the main build list.
1 parent df685b1 commit c3b46b4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build_tvos.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build tvOS (SubWorkflow)
33

44
on:
55
workflow_dispatch:
6-
inputs:
6+
inputs:
77
unity_version:
88
description: 'Unity version'
99
default: '2019'
@@ -25,7 +25,7 @@ on:
2525
type: string
2626
unity_platform_name:
2727
description: 'The platform name Unity should install with'
28-
default: 'tvOS'
28+
default: 'tvOS,iOS'
2929
required: true
3030
type: string
3131

@@ -116,6 +116,12 @@ jobs:
116116
run: |
117117
pip install -r scripts/gha/requirements.txt
118118
119+
- name: Pod repo add
120+
shell: bash
121+
# The pod install fails during the cmake build, so preinstall it.
122+
run: |
123+
pod repo add cocoapods https://github.com/CocoaPods/Specs.git
124+
119125
- name: Install Unity
120126
uses: nick-invision/retry@v2
121127
with:

0 commit comments

Comments
 (0)