-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (37 loc) · 1.07 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: "21"
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Install requires platform
run: sdkmanager "platforms;android-33" "build-tools;33.0.2"
- name: Build with Gradle
run: ./gradlew assembleRelease
- uses: ilharp/sign-android-release@nightly
name: Sign app APK
id: sign_app
with:
releaseDir: app/build/outputs/apk/release
signingKey: ${{ secrets.KEYSTORE }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyAlias: ${{ secrets.KEYSTORE_ALIAS }}
- name: Upload Packages
uses: actions/upload-artifact@v4
if: success()
with:
name: eUICC Probe
path: ${{ steps.sign_app.outputs.signedFile }}