From a590e3c58c800692788202aa24d66037d843e127 Mon Sep 17 00:00:00 2001 From: Fan DANG Date: Thu, 26 Dec 2024 22:39:44 +0800 Subject: [PATCH] try fixing CI --- .github/workflows/publish.yaml | 7 ++++--- pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 037315c..b8decb4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,10 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@v1 - - uses: subosito/flutter-action@v2 + - name: Setup Flutter SDK + uses: flutter-actions/setup-flutter@v3 with: - channel: 'stable' + channel: stable + version: ${{ env.FLUTTER_VERSION }} cache: true - name: Install dependencies run: flutter pub get diff --git a/pubspec.yaml b/pubspec.yaml index bda3031..55c5bb7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ homepage: "https://github.com/nfcim/flutter_nfc_kit" environment: sdk: ">=3.5.0 <4.0.0" - flutter: ">=3.24.0" + flutter: 3.24.5 dependencies: flutter: