fix(ci): add if: always() to build-android/build-ios so they run after continue-on-error lint/test

continue-on-error marks the job as failure, which skips downstream needs: jobs.
The if: always() condition ensures build jobs run regardless of lint/test outcome.
This commit is contained in:
robot committed 2026-08-03 07:49:54 +00:00
1 parent 3c4fd5fe21
commit a512795064
2 files changed
+52

No files matched your search

+2
View File
@@ -108,6 +108,7 @@ jobs:
name: Build Android
runs-on: [self-hosted, linux, x64]
needs: [lint, test]
if: always()
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -216,6 +217,7 @@ jobs:
name: Build iOS
runs-on: [self-hosted, linux, x64]
needs: [lint, test]
if: always()
steps:
- name: Checkout
uses: actions/checkout@v4