Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

ignore failed to update plugins because of server disconnect #165

ignore failed to update plugins because of server disconnect

ignore failed to update plugins because of server disconnect #165

name: facebook/flipper/build-and-deploy
on:
push:
branches:
- main
env:
ANDROID_PUBLISH_KEY: ${{ secrets.ANDROID_PUBLISH_KEY }}
jobs:
snapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y sdkmanager
- name: Install JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Install Retry
run: scripts/install-retry.sh
- name: Build
run: |
yes | sdkmanager "platforms;android-33" || true
/tmp/retry -m 3 ./gradlew :android:assembleRelease --info
- name: Deploy Snapshot
run: "/tmp/retry -m 3 scripts/publish-android-snapshot.sh"