fix(ci): use 'self-hosted' runner label for all jobs (act runner registers as self-hosted, not [self-hosted, macos])
This commit is contained in:
@@ -24,14 +24,14 @@ jobs:
|
||||
# ── Stage 1: Lint & static analysis ──────────────────────────────
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: [self-hosted, macos]
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Flutter
|
||||
run: |
|
||||
# Direct Flutter SDK download — macOS ARM64 native
|
||||
# Direct Flutter SDK download — macOS ARM64 (native self-hosted runner)
|
||||
curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.44.8-stable.zip" \
|
||||
-o flutter.zip
|
||||
unzip -q flutter.zip
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
# ── Stage 2: Unit & widget tests ─────────────────────────────────
|
||||
test:
|
||||
name: Test
|
||||
runs-on: [self-hosted, macos]
|
||||
runs-on: self-hosted
|
||||
needs: [lint]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
# ── Stage 3: Android build ──────────────────────────────────────
|
||||
build-android:
|
||||
name: Build Android
|
||||
runs-on: [self-hosted, macos]
|
||||
runs-on: self-hosted
|
||||
needs: [test]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -176,7 +176,7 @@ jobs:
|
||||
# ── Stage 3 (parallel): iOS build ───────────────────────────────
|
||||
build-ios:
|
||||
name: Build iOS
|
||||
runs-on: [self-hosted, macos]
|
||||
runs-on: self-hosted
|
||||
needs: [test]
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in New Issue
Block a user