Simplify approved PR signing workflow

This commit is contained in:
xXJSONDeruloXx committed 2026-09-24 20:45:25 -04:00
1 parent 6d4fc6775c
commit 98066f85ef
4 files changed
+83 -219

No files matched your search

+2 -4
View File
@@ -453,7 +453,7 @@ jobs:
success)
echo "### Build passed"
echo
echo "The unprivileged apk is the \`droiddeck-apk\` artifact on [this run]($RUN_URL), signed with the public test key. After a maintainer approves this exact commit and CI is green, a maintainer can run **PR Release Publish** from \`main\` with this PR number. That workflow signs the artifact with the release identity, checks that its versionCode matches the latest stable release, and publishes it for in-place update testing. The release key is never available to this PR build."
echo "The \`droiddeck-apk\` artifact is [on this run]($RUN_URL), signed with the public test key. After approval, a maintainer can run **PR Release Publish** from \`main\` to create an APK that installs over the release."
;;
failure)
echo "### ERROR: Build failed"
@@ -499,9 +499,7 @@ jobs:
# An apk is a zip already; compressing it again buys nothing and costs seconds.
compression-level: 0
# This workflow signs only main. PR build jobs keep using the public AOSP test key; the separate
# main-only approval workflow can later sign an approved PR artifact without running PR code with
# the release key.
# PR builds use the test key; only main calls the release signer.
sign:
needs: build
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'