mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 23:36:04 +00:00
ci: release lint runs as its own step and reports its own failure
This commit is contained in:
1 parent
4bc2aebce6
commit
c4ed825fae
2 files changed
+17
-3
No files matched your search
@@ -7,8 +7,8 @@ MARK="<!-- droiddeck-pr-build -->"
|
||||
echo
|
||||
[ -f /tmp/pr-merge.md ] && cat /tmp/pr-merge.md
|
||||
echo
|
||||
case "$BUILD_OUTCOME:$UNIT_TEST_OUTCOME:$APK_OUTCOME" in
|
||||
success:success:success)
|
||||
case "$BUILD_OUTCOME:$UNIT_TEST_OUTCOME:$APK_OUTCOME:${LINT_OUTCOME:-success}" in
|
||||
success:success:success:success)
|
||||
echo "### Build passed"
|
||||
echo
|
||||
echo "The \`droiddeck-apk\` artifact is [on this run]($RUN_URL), signed with the public test key."
|
||||
@@ -18,6 +18,11 @@ MARK="<!-- droiddeck-pr-build -->"
|
||||
echo
|
||||
echo "Fallback: [open **PR Release Publish**]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/workflows/pr-release-publish.yml) on \`main\` and enter PR \`$PR\`."
|
||||
;;
|
||||
success:success:success:*)
|
||||
echo "### ERROR: Release lint failed"
|
||||
echo
|
||||
echo "The APK compiled and unit tests passed, but \`lintVitalRelease\` found fatal issues. See [the run]($RUN_URL)."
|
||||
;;
|
||||
success:success:*)
|
||||
echo "### APK publication incomplete"
|
||||
echo
|
||||
|
||||
Reference in new issue
Block a user