abitofevrything / publish-mason-brick

A GitHub action to automatically publish bricks to https://brickhub.dev
1 stars 0 forks source link

Update to use Dart 3 and not Dart 2? #1

Closed RandalSchwartz closed 1 month ago

RandalSchwartz commented 2 months ago

Can you update this to use Dart 3 instead of dart 2? There's a breaking change recently regarding UnmodifiableUint8ListView(Uint8List(0)) and using the old Dart breaks things.

abitofevrything commented 2 months ago

Sounds good to me!

abitofevrything commented 2 months ago

I have bumped the dependencies - not sure if this fixes your issue. In theory we should already have been running Dart 3, since we use the dart:stable Docker image that points to Dart 3.5.1 (currently). Maybe the SDK was enabling/disabling features dynamically based on the sdk version constraint in pubspec.yaml.

Let me know if this fixes your issue. Otherwise, could you provide more details, or maybe a link to a repo with upload failures/warnings?