diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index 69540cc990..df23674754 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -22,12 +22,11 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup flutter - uses: subosito/flutter-action@v2 - with: - channel: stable - flutter-version: "3.41.9" - cache: true + - name: Setup flutter-ohos + run: | + git clone -b oh-3.41.9-release https://gitcode.com/CPF-Flutter/flutter_flutter.git $GITHUB_WORKSPACE/flutter + echo "$GITHUB_WORKSPACE/flutter/bin" >> $GITHUB_PATH + shell: bash - name: Get Flutter dependencies run: flutter pub get