build-debug.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. on:
  2. push:
  3. branches:
  4. - 'master'
  5. jobs:
  6. build-debug:
  7. runs-on: [docker, android-app-certs]
  8. container:
  9. volumes:
  10. - android-app-keystore:/keystore
  11. steps:
  12. - name: Repository Checkout
  13. uses: https://gitea.angry.im/actions/checkout@v3
  14. with:
  15. submodules: recursive
  16. - name: Decode Secret Signing Configuration
  17. uses: https://gitea.angry.im/actions/base64-to-file@v1
  18. with:
  19. fileName: keystore.properties
  20. fileDir: ${{ env.GITHUB_WORKSPACE }}
  21. encodedString: ${{ secrets.OPENEUICC_SIGNING_CONFIG }}
  22. - name: Set up JDK 17
  23. uses: https://gitea.angry.im/actions/setup-java@v3
  24. with:
  25. java-version: '17'
  26. distribution: 'temurin'
  27. - name: Setup Android SDK
  28. uses: https://gitea.angry.im/actions/setup-android@v3
  29. - name: Build Debug APKs
  30. run: ./gradlew --no-daemon assembleDebug
  31. - name: Upload Artifacts
  32. uses: https://gitea.angry.im/actions/upload-artifact@v3
  33. with:
  34. name: Debug APKs
  35. compression-level: 0
  36. path: |
  37. app-unpriv/build/outputs/apk/debug/app-unpriv-debug.apk
  38. app/build/outputs/apk/debug/app-debug.apk