From 9ba0c3311d0984ef0d98b13bfa2b1375fa5c6447 Mon Sep 17 00:00:00 2001 From: git-elliot Date: Mon, 1 Apr 2024 00:18:51 +0530 Subject: [PATCH 1/2] fix release error --- lib/src/services_impls/mdns_scanner_service_flutter_impl.dart | 1 - pubspec.yaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/services_impls/mdns_scanner_service_flutter_impl.dart b/lib/src/services_impls/mdns_scanner_service_flutter_impl.dart index 7168e07..a4ee294 100644 --- a/lib/src/services_impls/mdns_scanner_service_flutter_impl.dart +++ b/lib/src/services_impls/mdns_scanner_service_flutter_impl.dart @@ -1,4 +1,3 @@ -// ignore: depend_on_referenced_packages import 'package:multicast_dns/multicast_dns.dart'; import 'package:network_tools_flutter/network_tools_flutter.dart'; import 'package:nsd/nsd.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 1611c1e..ecca09c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -42,6 +42,8 @@ dependencies: path_provider: ^2.1.1 universal_io: ^2.2.2 nsd: ^2.3.1 + # Performing mDNS queries (e.g. Bonjour, Avahi). + multicast_dns: ^0.3.2+6 dev_dependencies: flutter_test: From 4da3e8b6a72ea99fc6274998a8ce169f5219a422 Mon Sep 17 00:00:00 2001 From: git-elliot Date: Mon, 1 Apr 2024 00:22:50 +0530 Subject: [PATCH 2/2] Added publish dry run in PR checks --- .github/workflows/flutter.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 8af290d..fa0de9a 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -85,4 +85,7 @@ jobs: uses: codecov/codecov-action@v3 with: token: ${{secrets.CODECOV_TOKEN}} - file: coverage/lcov.info \ No newline at end of file + file: coverage/lcov.info + + - name: Check Publish Warnings + run: flutter pub publish --dry-run \ No newline at end of file