All checks were successful
/ build-debug (push) Successful in 4m21s
Co-authored-by: Peter Cai <peter@typeblog.net> Reviewed-on: #85 Co-authored-by: septs <github@septs.pw> Co-committed-by: septs <github@septs.pw>
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
build-debug:
|
|
runs-on: [docker, android-app-certs]
|
|
container:
|
|
volumes:
|
|
- android-app-keystore:/keystore
|
|
steps:
|
|
- name: Repository Checkout
|
|
uses: https://gitea.angry.im/actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
|
|
- name: Decode Secret Signing Configuration
|
|
uses: https://gitea.angry.im/actions/base64-to-file@v1
|
|
with:
|
|
fileName: keystore.properties
|
|
fileDir: ${{ env.GITHUB_WORKSPACE }}
|
|
encodedString: ${{ secrets.OPENEUICC_SIGNING_CONFIG }}
|
|
|
|
- name: Set up JDK 17
|
|
uses: https://gitea.angry.im/actions/setup-java@v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
|
|
- name: Setup Android SDK
|
|
uses: https://gitea.angry.im/actions/setup-android@v3
|
|
|
|
- name: Build Debug APKs
|
|
run: ./gradlew --no-daemon assembleDebug
|
|
|
|
- name: Copy Artifacts
|
|
run: find . -name 'app*-debug.apk' -exec cp {} . \;
|
|
|
|
- name: Upload Artifacts
|
|
uses: https://gitea.angry.im/actions/upload-artifact@v3
|
|
with:
|
|
name: Debug APKs
|
|
compression-level: 0
|
|
path: app*-debug.apk
|