steps:
  build:
    image: codeberg.org/freeyourgadget/android-fdroid-tools:36.0.0-androguard-4.1.2-java-21
    commands:
      - pwd #bump
      - ./gradlew assembleDebug --stacktrace

#when:
#repo: Freeyourgadget/Gadgetbridge
#branch: master
#this doesn't work yet:
#https://github.com/woodpecker-ci/woodpecker/issues/687

when:
  # Everything except cron (nightly) and deployment
  - event: push
  - event: pull_request
  - event: tag
  - event: manual
