Skip to content

Commit e31145b

Browse files
committed
Update the tools to use Unity 2021
1 parent 919e11a commit e31145b

13 files changed

+57
-15
lines changed

.github/workflows/build_android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
inputs:
77
unity_version:
88
description: 'Unity version'
9-
default: '2019'
9+
default: '2021'
1010
required: true
1111
type: string
1212
firebase_cpp_sdk_version:

.github/workflows/build_ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
inputs:
77
unity_version:
88
description: 'Unity version'
9-
default: '2019'
9+
default: '2021'
1010
required: true
1111
type: string
1212
firebase_cpp_sdk_version:

.github/workflows/build_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
inputs:
77
unity_version:
88
description: 'Unity version'
9-
default: '2019'
9+
default: '2021'
1010
required: true
1111
type: string
1212
firebase_cpp_sdk_version:

.github/workflows/build_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
inputs:
77
unity_version:
88
description: 'Unity version'
9-
default: '2019'
9+
default: '2021'
1010
required: true
1111
type: string
1212
firebase_cpp_sdk_version:

.github/workflows/build_starter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
inputs:
1313
unity_version:
1414
description: 'Unity version'
15-
default: '2020'
15+
default: '2021'
1616
required: true
1717
firebase_cpp_sdk_version:
1818
description: 'Firebase CPP SDK version to build against (The branch, tag or SHA to checkout). Required if for release'
@@ -103,7 +103,7 @@ jobs:
103103
echo "release_label=nightly-$(date "+%Y%m%d-%H%M%S")" >> $GITHUB_OUTPUT
104104
echo "release_version=NoVersion" >> $GITHUB_OUTPUT
105105
echo "apis='analytics,app_check,auth,crashlytics,database,dynamic_links,firestore,functions,installations,messaging,remote_config,storage'" >> $GITHUB_OUTPUT
106-
echo "unity_version=2020" >> $GITHUB_OUTPUT
106+
echo "unity_version=2021" >> $GITHUB_OUTPUT
107107
echo "should_trigger_package=true" >> $GITHUB_OUTPUT
108108
echo "firebase_cpp_sdk_version=" >> $GITHUB_OUTPUT
109109
echo "unity_branch=" >> $GITHUB_OUTPUT

.github/workflows/build_tvos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
inputs:
77
unity_version:
88
description: 'Unity version'
9-
default: '2019'
9+
default: '2021'
1010
required: true
1111
type: string
1212
firebase_cpp_sdk_version:
@@ -33,7 +33,7 @@ on:
3333
inputs:
3434
unity_version:
3535
description: 'Unity version'
36-
default: '2019'
36+
default: '2021'
3737
required: true
3838
type: string
3939
firebase_cpp_sdk_version:

.github/workflows/build_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
inputs:
77
unity_version:
88
description: 'Unity version'
9-
default: '2019'
9+
default: '2021'
1010
required: true
1111
type: string
1212
firebase_cpp_sdk_version:

.github/workflows/generate_swig.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
inputs:
77
unity_version:
88
description: 'Unity version'
9-
default: '2020'
9+
default: '2021'
1010
required: true
1111
type: string
1212
firebase_cpp_sdk_version:

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
packaged_sdk_run_id:
88
description: 'run # of "Firebase Unity SDK build" workflow. (If Leave it empty, the latest released Unity SDK will be used.)'
99
unity_versions:
10-
description: 'Unity version (value: 2018, 2019, 2020. separated by commas)'
11-
default: '2020'
10+
description: 'Unity version (value: 2021, 2022. separated by commas)'
11+
default: '2021'
1212
required: true
1313
build_os:
1414
description: 'Build OS (value: windows-latest, macos-latest. Left empty will use macos-latest for iOS platform, windows-latest for the rest)'

gha/unity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `unity-setup` GitHub Action
22

33
## Inputs
4-
- `version`: **[Required]** Unity Major Version Number. Currently supported values: [2019, 2020].
4+
- `version`: **[Required]** Unity Major Version Number. Currently supported values: [2019, 2020, 2021, 2022].
55

66
- `platforms`: Platforms that you'd like to support, if not provided, build apps on certain platforms may encounter errors. Values: [Android,iOS,tvOS,Windows,macOS,Linux].
77

0 commit comments

Comments
 (0)