Skip to content

Commit a4c786f

Browse files
committed
REVERT ME: run the steps that are only to be run in the scheduled runs to verify that they run correctly.
1 parent 984143c commit a4c786f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/dataconnect.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ jobs:
7777
- name: Restore Gradle cache
7878
id: restore-gradle-cache
7979
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2
80-
if: github.event_name != 'schedule'
8180
with:
8281
path: |
8382
~/.gradle/caches
@@ -121,7 +120,6 @@ jobs:
121120
122121
- name: Save Gradle cache
123122
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2
124-
if: github.event_name == 'schedule'
125123
with:
126124
path: |
127125
~/.gradle/caches
@@ -137,7 +135,6 @@ jobs:
137135
138136
- name: Restore AVD cache
139137
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2
140-
if: github.event_name != 'schedule'
141138
id: restore-avd-cache
142139
with:
143140
path: |
@@ -148,7 +145,7 @@ jobs:
148145
avd-cache-zhdsn586je-api${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}-
149146
150147
- name: Create AVD
151-
if: github.event_name == 'schedule' || steps.restore-avd-cache.outputs.cache-hit != 'true'
148+
if: steps.restore-avd-cache.outputs.cache-hit != 'true'
152149
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
153150
with:
154151
api-level: ${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}
@@ -160,7 +157,6 @@ jobs:
160157

161158
- name: Save AVD cache
162159
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2
163-
if: github.event_name == 'schedule'
164160
with:
165161
path: |
166162
~/.android/avd/*

0 commit comments

Comments
 (0)