Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use github flutter actions v2 #32

Merged
merged 2 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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