CI: no release build on a pull request

The release job (R8) is the slowest; a pull request is tried with the
build job's debug APK. main, v* tags and manual runs still build it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
This commit is contained in:
Claude committed 2026-11-03 23:30:23 +00:00
1 parent 5e6a0cb36d
commit ad288dad4a
1 file changed
+5 -2
+5 -2
View File
@@ -5,8 +5,10 @@
# device: the instrumented tests on an emulator (x86_64, the one ABI it
# builds): the native library loads, binds and answers AT commands.
#
# release: the release APK and bundle (R8): signed with the release
# environment's key for main and v* tags, the debug key for a pull request.
# release: the release APK and bundle (R8), signed with the release
# environment's key: main, v* tags and a manual run only, not a pull
# request (its R8 build is the slow one; build's debug APK is what a
# pull request is tried with).
#
# Packages: apt's downloads are cached (.github/actions/apt), keyed on
# the runner image and the package list.
@@ -127,6 +129,7 @@ jobs:
app/build/test-results
release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-24.04
# (a hung build ends here, not at GitHub's 6 hours)
timeout-minutes: 40