diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3104cae..c7288c6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: # Note: This workflow uses the latest stable version of the Dart SDK. # You can specify other versions if desired, see documentation here: # https://github.com/dart-lang/setup-dart/blob/main/README.md - - uses: dart-lang/setup-dart@v1.4 + - uses: dart-lang/setup-dart@v1.6.5 # - uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 - name: Install dependencies @@ -51,4 +51,5 @@ jobs: id-token: write # Required for authentication using OIDC uses: git-elliot/setup-dart/.github/workflows/publish.yml@main # Added build_runner step with: - environment: 'pub.dev' \ No newline at end of file + environment: 'pub.dev' + build_runner: true \ No newline at end of file diff --git a/lib/src/services/impls/mdns_scanner_service_impl.dart b/lib/src/services/impls/mdns_scanner_service_impl.dart index 069f185..831b3b1 100644 --- a/lib/src/services/impls/mdns_scanner_service_impl.dart +++ b/lib/src/services/impls/mdns_scanner_service_impl.dart @@ -125,7 +125,8 @@ class MdnsScannerServiceImpl extends MdnsScannerService { await for (final IPAddressResourceRecord ip in iPAddressResourceRecordStream) { final ActiveHost activeHost = convertSrvToHostName( - internetAddress: ip.address, + internetAddress: + InternetAddress.fromRawAddress(ip.address.rawAddress), ptr: ptr, srv: srv, );