Skip to content

Update android.yml

Update android.yml #6

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main", "gitlab-ci" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 21
uses: actions/[email protected]
with:
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Unpack keystore
run: echo $KEYSTORE | base64 -d > '/home/runner/work/OpenMobileNetworkToolkit/OpenMobileNetworkToolkit/app/OpenMobileNetworkToolkit-key.jks'
- name: Export keystorepw
run: export StorePW=$KEYSTORE_PW
- name: Export keypw
run: export KeyPW=$KEY_PW
- name: Build with Gradle
run: ./gradlew assembleRelease