From 46bff74a691939cebaf579efd311799163c02d16 Mon Sep 17 00:00:00 2001 From: Cierra_Runis <2864283875@qq.com> Date: Sun, 28 Jan 2024 15:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7Fix=20paths?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 ++-- .github/workflows/main.yml | 18 +++++++++--------- .github/workflows/publish.yml | 10 +++++----- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f66fa40..3e1a6456 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,10 +21,10 @@ jobs: - name: Enable Local Dev run: ./scripts/enable_local_dev.sh - + - name: Install dependencies run: flutter pub get - + - name: Flutter build Web run: flutter build web --release --verbose --dart-define=CI=true working-directory: ./example diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc58fb46..e25292f5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,26 +27,26 @@ jobs: run: flutter pub get - name: Install dart_quill_delta dependencies - run: flutter pub get -C dart_quill_delta - + run: flutter pub get -C packages/dart_quill_delta + - name: Install flutter_quill_extensions dependencies - run: flutter pub get -C flutter_quill_extensions + run: flutter pub get -C packages/flutter_quill_extensions - name: Install flutter_quill_test dependencies - run: flutter pub get -C flutter_quill_test - + run: flutter pub get -C packages/flutter_quill_test + - name: Install quill_html_converter dependencies - run: flutter pub get -C quill_html_converter - + run: flutter pub get -C packages/quill_html_converter + - name: Install quill_pdf_converter dependencies - run: flutter pub get -C quill_pdf_converter + run: flutter pub get -C packages/quill_pdf_converter - name: Run flutter analysis run: flutter analyze - name: Check dart code formatting run: dart format --set-exit-if-changed . - + - name: Preview dart proposed changes run: dart fix --dry-run diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1e9d929e..8a154ef4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,10 +17,10 @@ jobs: with: channel: 'stable' cache: true - + - name: Check flutter version run: flutter --version - + - name: Enable Local Dev run: ./scripts/enable_local_dev.sh @@ -29,7 +29,7 @@ jobs: # Here you can insert custom steps you need # - run: dart tool/generate-code.dart - + # This is needed in order for the authentication to success # dart pub token add https://pub.dev --env-var PUB_TOKEN # Requests to "https://pub.dev" will now be authenticated using the secret token stored in the environment variable "PUB_TOKEN". @@ -40,7 +40,7 @@ jobs: - name: Publish flutter_quill run: flutter pub publish --force - + - name: Publish dart_quill_delta run: flutter pub publish --force working-directory: ./dart_quill_delta/ @@ -56,7 +56,7 @@ jobs: - name: Publish quill_html_converter run: flutter pub publish --force working-directory: ./quill_html_converter/ - + - name: Publish quill_pdf_converter run: flutter pub publish --force working-directory: ./quill_pdf_converter/