Skip to content

Commit 9f25a5f

Browse files
committed
another try
1 parent 62556dc commit 9f25a5f

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/common.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ on:
5252
required: false
5353
default: ""
5454

55+
# An environment variable to be set for the test run.
56+
env_var:
57+
type: string
58+
required: false
59+
default: ""
60+
5561
outputs:
5662
cache_key:
5763
description: "The cache key for the Swift package resolution."
@@ -99,6 +105,8 @@ jobs:
99105
xcode: Xcode_26.1
100106
platform: iOS
101107
runs-on: ${{ matrix.os }}
108+
env:
109+
${{ inputs.env_var }}: 1
102110
steps:
103111
- uses: actions/checkout@v4
104112
- uses: actions/cache/restore@v4

.github/workflows/crashlytics.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ concurrency:
2828
jobs:
2929
spm:
3030
env:
31-
# Don't run flaky tests in nightlies
32-
CRASHLYTICS_NIGHTLY: 1
3331
uses: ./.github/workflows/common.yml
3432
with:
3533
target: FirebaseCrashlyticsUnit
34+
env_var: ${{ github.event_name == 'schedule' && 'CRASHLYTICS_NIGHTLY' || '' }}
3635

3736
catalyst:
3837
uses: ./.github/workflows/common_catalyst.yml
@@ -97,3 +96,4 @@ jobs:
9796
product: FirebaseCrashlytics
9897
platforms: '[ "ios", "tvos", "macos", "watchos --skip-tests" ]'
9998
flags: '[ "--use-static-frameworks", "--use-modular-headers --skip-tests" ]'
99+

0 commit comments

Comments
 (0)