Skip to content

Disable custom signing config #17

Disable custom signing config

Disable custom signing config #17

Workflow file for this run

name: Aer CI
on:
push:
branches:
- 'main'
- 'revamp'
paths-ignore:
- '**.md'
- '.gitignore'
- 'Android.bp'
- '/metadata'
pull_request:
paths-ignore:
- '**.md'
- '.gitignore'
- 'Android.bp'
- '/metadata'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Project checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Cache Gradle Dependencies
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
!~/.gradle/caches/build-cache-*
key: gradle-deps-core-${{ hashFiles('**/build.gradle*') }}
restore-keys: |
gradle-deps
- name: Cache Gradle Build
uses: actions/cache@v2
with:
path: |
~/.gradle/caches/build-cache-*
key: gradle-builds-core-${{ github.sha }}
restore-keys: |
gradle-builds
# - name: Signing key
# if: ${{ github.event_name == 'push' }}
# run: |
# echo 'androidStorePassword=${{ secrets.KEY_STORE_PASSWORD }}' >> local.properties
# echo 'androidKeyAlias=${{ secrets.ALIAS }}' >> local.properties
# echo 'androidKeyPassword=${{ secrets.KEY_PASSWORD }}' >> local.properties
# echo 'androidStoreFile=sign_key.jks' >> local.properties
# echo '${{ secrets.KEY_STORE }}' | base64 --decode > sign_key.jks
- name: Build
id: build
run: |
echo 'org.gradle.caching=true' >> gradle.properties
echo 'org.gradle.parallel=true' >> gradle.properties
echo 'org.gradle.vfs.watch=true' >> gradle.properties
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
./gradlew :app:assembleDebug
- name: Upload artifacts
if: ${{ github.event_name == 'push' }}
uses: actions/upload-artifact@v4
with:
name: app.apk
path: "app/build/outputs/apk/debug/app-debug.apk"
retention-days: 14