mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-28 22:49:15 +01:00
CI: slim Flutter SDK for the interop job; APK only on app changes, Gradle cached
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
83b9d5c4c7
commit
a6d5688eb7
5
.github/workflows/python-tests.yml
vendored
5
.github/workflows/python-tests.yml
vendored
@ -69,11 +69,10 @@ jobs:
|
|||||||
uv pip install --quiet --python .freedays-venv/bin/python .utils/crdt-sync
|
uv pip install --quiet --python .freedays-venv/bin/python .utils/crdt-sync
|
||||||
uv pip install --quiet --python .freedays-venv/bin/python --no-deps .utils/freedays
|
uv pip install --quiet --python .freedays-venv/bin/python --no-deps .utils/freedays
|
||||||
|
|
||||||
- uses: subosito/flutter-action@v2
|
- uses: kuhyx/utils/flutter-setup@flutter-setup-v1
|
||||||
with:
|
with:
|
||||||
flutter-version: 3.47.6
|
flutter-version: 3.47.6
|
||||||
channel: stable
|
working-directory: phone_app
|
||||||
cache: true
|
|
||||||
|
|
||||||
- name: Dart writes, Python replays, both must agree
|
- name: Dart writes, Python replays, both must agree
|
||||||
run: FREEDAYS_PYTHON="$PWD/.freedays-venv/bin/python" bash scripts/free_days_interop/check.sh
|
run: FREEDAYS_PYTHON="$PWD/.freedays-venv/bin/python" bash scripts/free_days_interop/check.sh
|
||||||
|
|||||||
10
.github/workflows/release-apk.yml
vendored
10
.github/workflows/release-apk.yml
vendored
@ -3,6 +3,14 @@ name: release-apk
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
# A publisher, not a gate: build only when something that ends up in
|
||||||
|
# the APK changed. versionCode is the commit count, so skipped pushes
|
||||||
|
# still leave it monotonic.
|
||||||
|
paths:
|
||||||
|
- 'phone_app/**'
|
||||||
|
- '.fvmrc'
|
||||||
|
- '.versioncode-offset'
|
||||||
|
- '.github/workflows/release-apk.yml'
|
||||||
# Lets a release be rebuilt from the current main without a dummy commit.
|
# Lets a release be rebuilt from the current main without a dummy commit.
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -74,6 +82,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "17"
|
java-version: "17"
|
||||||
|
# ~/.gradle caches + wrapper, keyed on the Gradle files.
|
||||||
|
cache: gradle
|
||||||
|
|
||||||
- uses: subosito/flutter-action@v2
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user