Skip to content

Commit 61ca043

Browse files
authored
fix(ci): Change how FIREBASE_CI is enabled (#15364)
1 parent 6bcf978 commit 61ca043

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/auth.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,6 @@ jobs:
141141
platforms: '[ "ios", "tvos --skip-tests", "macos --skip-tests", "watchos --skip-tests" ]'
142142
flags: '[ "--use-static-frameworks" ]'
143143
setup_command: scripts/configure_test_keychain.sh
144+
ignore_deprecation_warnings: true
144145
secrets:
145146
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

.github/workflows/common_cocoapods_cron.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ on:
4646
required: false
4747
default: "macos-15"
4848

49-
env:
50-
FIREBASE_CI: true
49+
# Whether to ignore deprecation warnings by setting FIREBASE_CI.
50+
ignore_deprecation_warnings:
51+
type: boolean
52+
required: false
53+
default: false
5154

5255
jobs:
5356
cron-job:
@@ -67,6 +70,9 @@ jobs:
6770
run: scripts/setup_bundler.sh
6871
- name: Xcode
6972
run: sudo xcode-select -s /Applications/${{ inputs.xcode }}.app/Contents/Developer
73+
- name: Set FIREBASE_CI, if needed.
74+
if: inputs.ignore_deprecation_warnings == true
75+
run: echo "FIREBASE_CI=true" >> $GITHUB_ENV
7076
- name: Run setup command, if needed.
7177
if: inputs.setup_command != ''
7278
env:

0 commit comments

Comments
 (0)