Files
Amber/.github/workflows/unsigned-release.yml
T
Claude 044dc97923 ci: exclude benchmark flavor from Build All APKs workflow
The benchmark flavor is built and uploaded separately by the
Benchmark APK workflow. Build only the free and offline release
variants here so benchmark APKs are no longer included in the
All-APKs release artifact.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9KKAb95KjKV8gL2FaXTks
2026-06-19 12:16:02 +00:00

51 lines
1.2 KiB
YAML

name: Build All APKs
on:
push:
tags:
- 'v*'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission to Gradle wrapper
run: chmod +x ./gradlew
- name: Clean project
run: ./gradlew clean
- name: Build AAB and APKs
run: |
./gradlew bundleFreeRelease bundleOfflineRelease assembleFreeRelease assembleOfflineRelease --stacktrace
- name: Upload all APKs as artifacts
uses: actions/upload-artifact@v4
with:
name: All-APKs-${{ github.ref_name }}
path: app/build/outputs/apk/**/release/*.apk
retention-days: 14