Skip to content

fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.7 #846

fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.7

fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.7 #846

Workflow file for this run

name: Android CI
on:
pull_request:
push:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
file-changes:
runs-on: ubuntu-latest
outputs:
any: ${{ steps.changed-files.outputs.any_changed }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: |
.github/workflows/pr_ci.yml
gradle/libs.versions.toml
**/*.kt
**/*.kts
**/*.xml
check-codestyle:
needs: [ file-changes ]
runs-on: ubuntu-latest
if: needs.file-changes.outputs.any == 'true'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: "zulu"
java-version: "21"
cache: "gradle"
- name: Check codestyle
uses: gradle/[email protected]
with:
arguments: spotlessCheck
gradle-home-cache-cleanup: true
build-apks:
needs: [ check-codestyle ]
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
if: needs.file-changes.outputs.any == 'true'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: "zulu"
java-version: "21"
cache: "gradle"
- name: Build debug APKs
uses: gradle/[email protected]
with:
arguments: assembleDebug
gradle-home-cache-cleanup: true
env:
GITHUB_CI: true
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
- name: Upload debug APKs
uses: actions/upload-artifact@v4
with:
name: Debug APKs
path: app/build/outputs/apk/debug/*.apk