Summary: Fix the current test failures due to the new JDK requirements. Pull Request resolved: https://github.com/facebook/flipper/pull/4768 Test Plan: Hard to dry-run. Best I can offer is the check here using the CircleCI UI:  Reviewed By: ivanmisuno Differential Revision: D46145533 Pulled By: passy fbshipit-source-id: 1887b1ffaa813f79d8a2ec9bd9486796399f865a
38 lines
904 B
YAML
38 lines
904 B
YAML
version: 2.1
|
|
orbs:
|
|
android: circleci/android@2.3.0
|
|
jobs:
|
|
snapshot:
|
|
environment:
|
|
TERM: 'dumb'
|
|
executor:
|
|
name: android/android-machine
|
|
tag: 2023.04.1
|
|
resource-class: large
|
|
steps:
|
|
- checkout
|
|
- android/restore-gradle-cache:
|
|
cache-prefix: v1a
|
|
- run:
|
|
name: install retry
|
|
command: scripts/install-retry.sh
|
|
- run:
|
|
name: build
|
|
command: |
|
|
yes | sdkmanager "platforms;android-33" || true
|
|
/tmp/retry -m 3 ./gradlew :android:assembleRelease --info
|
|
- run:
|
|
name: deploy snapshot
|
|
command: |
|
|
/tmp/retry -m 3 scripts/publish-android-snapshot.sh
|
|
- android/save-gradle-cache:
|
|
cache-prefix: v1a
|
|
workflows:
|
|
version: 2
|
|
build-and-deploy:
|
|
jobs:
|
|
- snapshot:
|
|
filters:
|
|
branches:
|
|
only: main
|