fix CircleCI

This commit is contained in:
Christian Schneppe 2019-11-15 17:31:17 +01:00 committed by GitHub
parent 5c26aec10d
commit 60b96381f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ jobs:
key: gradle-{{ checksum "build.gradle" }}-{{ checksum ".circleci/config.yml" }}
- run: export GRADLE_USER_HOME=$PWD/.gradle
- run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
- run: ./gradlew lintStandardDebug
- run: ./gradlew lintGitDebug
- save_cache:
paths:
- .gradle/caches
@ -28,7 +28,7 @@ jobs:
- run: export GRADLE_USER_HOME=$PWD/.gradle
- run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
# build
- run: ./gradlew assembleStandard
- run: ./gradlew assembleGit
- save_cache:
paths:
- ~/.android
@ -52,7 +52,7 @@ jobs:
- run: sed -i "0,/versionName/s/^\(\s*versionName\).*/\1 \"$(printf '%s-%05d' $(git describe --tag --abbrev=0) $(git rev-list --first-parent --count HEAD))\"/" build.gradle
- run: cat -n build.gradle
# build
- run: ./gradlew assembleStandard
- run: ./gradlew assembleGit
# publish on nightly fdroid repo
- run: fdroid nightly
- save_cache: