Update android-sample.yml (#2432)

Summary:
This should take care of the build issue. It's an annoying caching issue that's been around for ages. Also why it didn't happen locally.

Pull Request resolved: https://github.com/facebook/flipper/pull/2432

Test Plan: GitHub CI

Reviewed By: mweststrate

Differential Revision: D28958707

Pulled By: passy

fbshipit-source-id: 8538f6616dec934d924c04713af93e7a6b89e617
This commit is contained in:
Pascal Hartig
2021-06-08 03:07:34 -07:00
committed by Facebook GitHub Bot
parent dbd52d1cfe
commit f3f0756da7

View File

@@ -24,10 +24,10 @@ jobs:
~/.gradle/caches/jars-* ~/.gradle/caches/jars-*
~/.gradle/caches/build-cache-* ~/.gradle/caches/build-cache-*
key: gradle-${{ hashFiles('checksum-android.txt') }} key: gradle-${{ hashFiles('checksum-android.txt') }}
- name: Build artifacts with Gradle
run: ./gradlew assembleDebug
- name: Build sample apps with Gradle - name: Build sample apps with Gradle
run: ./gradlew :sample:assembleDebug :tutorial:assembleDebug run: ./gradlew :sample:assembleDebug :tutorial:assembleDebug
- name: Build remaining artifacts with Gradle
run: ./gradlew assembleDebug
- name: upload artifact - name: upload artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with: