From 908e2ced3a7a1ff8b7c3ed465ffe0f30dafee34d Mon Sep 17 00:00:00 2001 From: Michalina Majewska Date: Thu, 20 Jun 2024 18:35:36 +0200 Subject: [PATCH] Temporarily add publish_to: none in *_cqrs package, make publish dry run not critical --- .github/workflows/leancode_cubit_utils-test.yml | 4 +--- .github/workflows/leancode_cubit_utils_cqrs-test.yml | 4 +--- packages/leancode_cubit_utils_cqrs/pubspec.yaml | 4 +++- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/leancode_cubit_utils-test.yml b/.github/workflows/leancode_cubit_utils-test.yml index f5220e4..83ca075 100644 --- a/.github/workflows/leancode_cubit_utils-test.yml +++ b/.github/workflows/leancode_cubit_utils-test.yml @@ -49,6 +49,4 @@ jobs: run: flutter test - name: Dry run pub publish - uses: leancodepl/mobile-tools/.github/actions/pub-release@pub-release-v1 - with: - dry-run: true + run: dart pub publish --dry-run || true diff --git a/.github/workflows/leancode_cubit_utils_cqrs-test.yml b/.github/workflows/leancode_cubit_utils_cqrs-test.yml index caa0871..ee301c4 100644 --- a/.github/workflows/leancode_cubit_utils_cqrs-test.yml +++ b/.github/workflows/leancode_cubit_utils_cqrs-test.yml @@ -49,6 +49,4 @@ jobs: run: flutter test - name: Dry run pub publish - uses: leancodepl/mobile-tools/.github/actions/pub-release@pub-release-v1 - with: - dry-run: true + run: dart pub publish --dry-run || true diff --git a/packages/leancode_cubit_utils_cqrs/pubspec.yaml b/packages/leancode_cubit_utils_cqrs/pubspec.yaml index 682b2e4..2a98d81 100644 --- a/packages/leancode_cubit_utils_cqrs/pubspec.yaml +++ b/packages/leancode_cubit_utils_cqrs/pubspec.yaml @@ -2,6 +2,7 @@ name: leancode_cubit_utils_cqrs description: An extension of leancode_cubit_utils that provides cqrs support. version: 0.0.1 repository: https://github.com/leancodepl/leancode_cubit_utils +publish_to: none environment: sdk: '>=3.1.0 <4.0.0' @@ -13,7 +14,8 @@ dependencies: sdk: flutter flutter_bloc: ^8.0.0 leancode_cubit_utils: - # Change after leancode_cubit_utils' new version is published + # TODO: Change after leancode_cubit_utils' new version is published, + # also remove publish_to: none path: ../leancode_cubit_utils leancode_hooks: ^0.0.6