Skip to content

Commit

Permalink
Use github flutter actions v2 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
goflutterjava authored Jan 13, 2022
1 parent 7af68cc commit acdaba0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flutter_analyze.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
- uses: subosito/flutter-action@v2
with:
channel: 'beta'
- run: flutter pub get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flutter_check_style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
- uses: subosito/flutter-action@v2
with:
channel: 'beta'
- run: flutter pub get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
- uses: subosito/flutter-action@v2
with:
channel: beta
- run: flutter config --enable-windows-desktop
Expand Down
1 change: 1 addition & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class MyApp extends StatelessWidget {
final args = settings.arguments as SqlViewModel;
return RouteGen.sqlExecute(args);
}
throw UnimplementedError();
},
);
}
Expand Down
4 changes: 2 additions & 2 deletions lib/open/open_api_pulsar.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:paas_dashboard_flutter/api/pulsar/pulsar_partitioned_topic_api.dart';
import 'package:paas_dashboard_flutter/persistent/persistent.dart';

class PulsarService {
Future<int> partitionTopicNumber(String name, String tenant, String namespace) async {
class OpenApiPulsar {
Future<int> partitionTopicCount(String name, String tenant, String namespace) async {
var pulsarInstance = await Persistent.pulsarInstance(name);
if (pulsarInstance == null) {
throw ArgumentError("pulsar instance not exist");
Expand Down

0 comments on commit acdaba0

Please sign in to comment.