Skip to content

Update to target sdk 33, update dependencies #34

Update to target sdk 33, update dependencies

Update to target sdk 33, update dependencies #34

Workflow file for this run

name: Android CI
on:
push:
branches:
- master
- dev**
pull_request:
branches:
- master
- dev**
jobs:
apk:
name: Generate APK
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: gradle/wrapper-validation-action@v1
- name: set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Prepare thirdparty
run: bash ./gradlew -b thirdparty_build.gradle downloadAndPatchDjvu downloadAndMakeMupdf
- name: Build debug APK
run: bash ./gradlew assembleDev --stacktrace -Porion.CIBuild=true
- name: Read value from Properties-file
id: read_version_property
uses: christian-draeger/[email protected]
with:
path: './orion-viewer/version.properties'
property: 'orion.version.name'
- name: Upload arm7 APK
uses: actions/upload-artifact@v2
with:
name: orion-viewer-dev-${{steps.read_version_property.outputs.value}}-${{github.run_number}}-arm7.zip
path: orion-viewer/build/outputs/apk/arm7/dev/*.apk
- name: Upload arm64 APK
uses: actions/upload-artifact@v2
with:
name: orion-viewer-dev-${{steps.read_version_property.outputs.value}}-${{github.run_number}}-arm64.zip
path: orion-viewer/build/outputs/apk/arm64/dev/*.apk
- name: Upload x86 APK
uses: actions/upload-artifact@v2
with:
name: orion-viewer-dev-${{steps.read_version_property.outputs.value}}-${{github.run_number}}-x86.zip
path: orion-viewer/build/outputs/apk/x86/dev/*.apk
- name: Upload x86_64 APK
uses: actions/upload-artifact@v2
with:
name: orion-viewer-dev-${{steps.read_version_property.outputs.value}}-${{github.run_number}}-x86_64.zip
path: orion-viewer/build/outputs/apk/x86_64/dev/*.apk