Files
flipper/.circleci/config.yml
Pascal Hartig 9b448b2864 Bump Android resources (#4768)
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:

![Screenshot 2023-05-24 at 11 45 19](https://github.com/facebook/flipper/assets/9906/2197d2cf-b6af-4463-8389-636029e983da)

Reviewed By: ivanmisuno

Differential Revision: D46145533

Pulled By: passy

fbshipit-source-id: 1887b1ffaa813f79d8a2ec9bd9486796399f865a
2023-05-24 09:04:58 -07:00

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