Skip to content

Commit 4dd4ea7

Browse files
committed
.github/workflows/dataconnect.yml: remove "emulator-versions-outdated-check" (add it back in a follow-up PR)
1 parent 980b11c commit 4dd4ea7

File tree

1 file changed

+0
-72
lines changed

1 file changed

+0
-72
lines changed

.github/workflows/dataconnect.yml

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -347,76 +347,6 @@ jobs:
347347
working-directory: firebase-dataconnect/ci
348348
run: pyright --warnings --stats
349349

350-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
351-
with:
352-
show-progress: false
353-
354-
emulator-versions-outdated-check:
355-
continue-on-error: false
356-
runs-on: ubuntu-latest
357-
steps:
358-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
359-
with:
360-
show-progress: false
361-
362-
- uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
363-
with:
364-
java-version: ${{ env.FDC_JAVA_VERSION }}
365-
distribution: temurin
366-
367-
- name: Restore Gradle Cache
368-
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2
369-
if: github.event_name != 'schedule'
370-
with:
371-
path: |
372-
~/.gradle/caches
373-
~/.gradle/wrapper
374-
key: gradle-cache-jqnvfzw6w7-${{ github.run_id }}
375-
restore-keys: |
376-
gradle-cache-jqnvfzw6w7-
377-
378-
- uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8
379-
with:
380-
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}
381-
382-
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4
383-
384-
- name: Gradle updateJson
385-
id: update-json
386-
run: |
387-
set -euo pipefail
388-
set -x
389-
390-
# Speed up build times and also avoid configuring firebase-crashlytics-ndk
391-
# which is finicky integrating with the Android NDK.
392-
echo >> gradle.properties
393-
echo "org.gradle.configureondemand=true" >> gradle.properties
394-
395-
readonly json_file='firebase-dataconnect/gradleplugin/plugin/src/main/resources/com/google/firebase/dataconnect/gradle/plugin/DataConnectExecutableVersions.json'
396-
cp "${json_file}" '${{ runner.temp }}/DataConnectExecutableVersions.before.json'
397-
398-
./gradlew \
399-
--warning-mode all \
400-
${{ (inputs.gradleInfoLog && '--info') || '' }} \
401-
:firebase-dataconnect:updateJson
402-
403-
cp "${json_file}" '${{ runner.temp }}/DataConnectExecutableVersions.after.json'
404-
405-
if diff DataConnectExecutableVersions.before.json DataConnectExecutableVersions.after.json ; then
406-
echo "${json_file} is up-to-date"
407-
echo "diff_result=same" >> "$GITHUB_OUTPUT"
408-
else
409-
echo "${json_file} is NOT up-to-date"
410-
echo "To update it, run: ./gradlew :firebase-dataconnect:updateJson"
411-
echo "diff_result=different" >> "$GITHUB_OUTPUT"
412-
fi
413-
414-
- name: "Fail if DataConnectExecutableVersions.json is not up-to-date during scheduled runs"
415-
if: github.event_name == 'schedule' && steps.update-json.outputs.diff_result != 'same'
416-
run: |
417-
echo "Force-failing because DataConnectExecutableVersions.json is NOT up-to-date" >&2
418-
exit 1
419-
420350
# The "send-notifications" job adds a comment to GitHub Issue
421351
# https://github.com/firebase/firebase-android-sdk/issues/6857 with the results of the scheduled
422352
# nightly runs. Interested parties can then subscribe to that issue to be aprised of the outcome
@@ -434,7 +364,6 @@ jobs:
434364
- 'python-ci-lint'
435365
- 'python-ci-format'
436366
- 'python-ci-type-check'
437-
- 'emulator-versions-outdated-check'
438367
if: always()
439368
permissions:
440369
issues: write
@@ -460,7 +389,6 @@ jobs:
460389
python-ci-lint:${{ needs.python-ci-lint.result }}
461390
python-ci-format:${{ needs.python-ci-format.result }}
462391
python-ci-type-check:${{ needs.python-ci-type-check.result }}
463-
emulator-versions-outdated-check:${{ needs.emulator-versions-outdated-check.result }}
464392
EOF
465393
466394
- uses: ./.github/actions/dataconnect-send-notifications

0 commit comments

Comments
 (0)