b57e65f760
build / build (push) Has been cancelled
- nixpkgs 25.11 → 26.05; gradle_9 + jdk21; build-tools 35 → 36 - Drop custom gradle wrapper — GRADLE_OPTS works post-nixpkgs PR #449037 - AGP 8.7.3 → 9.2.1; Kotlin plugin removed (built-in since AGP 9) - compileSdk/targetSdk 34 → 35; buildToolsVersion pinned to 36.0.0 - Java/Kotlin target 17 → 21; resValues feature flag required by AGP 9 - applicationVariants (removed in AGP 9) → androidComponents.onVariants - Test task: testWeatherReleaseUnitTest → :app:test (all flavors, debug) - CI artifact path fixed to cover all flavor APKs - Docs: drop nix develop --command prefix (direnv activates shell) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
687 B
YAML
26 lines
687 B
YAML
name: build
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
tags: ['*']
|
|
concurrency:
|
|
group: ${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: docksee/nixos-gitea:${{ vars.NIX_IMAGE_VERSION }}
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Unit tests
|
|
run: nix develop --command gradle --no-daemon :app:test
|
|
- name: Build release APK
|
|
run: nix develop --command gradle --no-daemon :app:assembleRelease
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: android-webview-kiosk-apk
|
|
path: app/build/outputs/apk/release/app-release.apk
|