From 86c6f132827c2d815a67b1dd3585177f1ecebb65 Mon Sep 17 00:00:00 2001 From: nyne Date: Wed, 2 Oct 2024 21:40:09 +0800 Subject: [PATCH] fix workflow --- .github/workflows/main.yml | 1 + pubspec.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9bf939..8f8e5f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,7 @@ jobs: with: channel: 'stable' architecture: x64 + flutter-version-file: pubspec.yaml - run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app - run: flutter pub get - run: flutter build macos --release diff --git a/pubspec.yaml b/pubspec.yaml index d13ae76..ab5fe4f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -74,7 +74,9 @@ dev_dependencies: # rules and activating additional ones. flutter_lints: ^3.0.0 flutter_to_arch: - git: https://github.com/wgh136/flutter_to_arch + git: + url: https://github.com/wgh136/flutter_to_arch + ref: 15bfead # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec