Conversations/.drone.yml

32 lines
662 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- image: registry.gitlab.com/fdroid/ci-images-client:latest
name: build
when:
branch:
exclude:
- droneci
commands:
- ./gradlew assembleConversationsFreeCompatDebug
- image: registry.gitlab.com/fdroid/ci-images-client:latest
name: publish
when:
branch:
include:
- droneci
environment:
DEBUG_KEYSTORE:
from_secret: DEBUG_KEYSTORE
commands:
- .ci/prepare-publish.sh
# build free version
- ./gradlew assembleConversationsFreeCompatRelease
- ls build/outputs/apk/conversationsFreeCompat/*
# publish on nightly fdroid repo
- fdroid nightly -v