Skip to content

Commit d0df7fc

Browse files
committed
👷 Update Github builds
1 parent c7d5f3a commit d0df7fc

File tree

8 files changed

+14
-929
lines changed

8 files changed

+14
-929
lines changed

.github/workflows/flutterWeb.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ concurrency:
1010
group: 'pages'
1111
cancel-in-progress: true
1212

13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
1613
on:
14+
workflow_dispatch:
1715
push:
1816
branches: ['main']
1917

@@ -25,10 +23,10 @@ jobs:
2523
url: ${{ steps.deployment.outputs.page_url }}
2624

2725
steps:
28-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2927
- uses: subosito/flutter-action@v1
3028
with:
31-
channel: 'master' # or: 'beta', 'dev' or 'master'
29+
channel: 'stable' # 'stable', 'beta', 'dev' or 'master'
3230

3331
- name: Write env file
3432
env:
@@ -39,7 +37,7 @@ jobs:
3937
- name: Enable web
4038
run: flutter config --enable-web
4139

42-
- name: Build release version
40+
- name: Build Web release version
4341
run: flutter build web -t lib/prod.dart --release
4442

4543
- name: Upload artifact

.github/workflows/flutterWindows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
url: ${{ steps.deployment.outputs.page_url }}
2424

2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
- uses: subosito/flutter-action@v1
2828
with:
2929
channel: 'stable' # 'stable', 'beta', 'dev' or 'master'
@@ -38,7 +38,7 @@ jobs:
3838
run: dart scripts\platform_type_on.dart
3939

4040
- name: Build Windows release version
41-
run: flutter build windows --release
41+
run: flutter build windows -t lib/prod.dart --release
4242

4343
- name: Building the installer
4444
shell: cmd

linux/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,13 @@
77
#include "generated_plugin_registrant.h"
88

99
#include <bitsdojo_window_linux/bitsdojo_window_plugin.h>
10-
#include <file_selector_linux/file_selector_plugin.h>
1110
#include <flutter_localization/flutter_localization_plugin.h>
12-
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
13-
#include <platform_device_id_linux/platform_device_id_linux_plugin.h>
14-
#include <url_launcher_linux/url_launcher_plugin.h>
1511

1612
void fl_register_plugins(FlPluginRegistry* registry) {
1713
g_autoptr(FlPluginRegistrar) bitsdojo_window_linux_registrar =
1814
fl_plugin_registry_get_registrar_for_plugin(registry, "BitsdojoWindowPlugin");
1915
bitsdojo_window_plugin_register_with_registrar(bitsdojo_window_linux_registrar);
20-
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
21-
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
22-
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
2316
g_autoptr(FlPluginRegistrar) flutter_localization_registrar =
2417
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterLocalizationPlugin");
2518
flutter_localization_plugin_register_with_registrar(flutter_localization_registrar);
26-
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
27-
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
28-
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar);
29-
g_autoptr(FlPluginRegistrar) platform_device_id_linux_registrar =
30-
fl_plugin_registry_get_registrar_for_plugin(registry, "PlatformDeviceIdLinuxPlugin");
31-
platform_device_id_linux_plugin_register_with_registrar(platform_device_id_linux_registrar);
32-
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
33-
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
34-
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
3519
}

linux/flutter/generated_plugins.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44

55
list(APPEND FLUTTER_PLUGIN_LIST
66
bitsdojo_window_linux
7-
file_selector_linux
87
flutter_localization
9-
flutter_secure_storage_linux
10-
platform_device_id_linux
11-
url_launcher_linux
128
)
139

1410
list(APPEND FLUTTER_FFI_PLUGIN_LIST

macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,45 +8,29 @@ import Foundation
88
import assets_audio_player
99
import assets_audio_player_web
1010
import bitsdojo_window_macos
11-
import file_selector_macos
1211
import firebase_analytics
1312
import firebase_auth
1413
import firebase_core
1514
import firebase_messaging
1615
import flutter_local_notifications
1716
import flutter_localization
1817
import flutter_native_timezone
19-
import flutter_secure_storage_macos
2018
import google_sign_in_ios
21-
import package_info_plus
2219
import path_provider_foundation
23-
import platform_device_id
24-
import platform_device_id_macos
25-
import share_plus
2620
import shared_preferences_foundation
27-
import sqflite
28-
import url_launcher_macos
2921

3022
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
3123
AssetsAudioPlayerPlugin.register(with: registry.registrar(forPlugin: "AssetsAudioPlayerPlugin"))
3224
AssetsAudioPlayerWebPlugin.register(with: registry.registrar(forPlugin: "AssetsAudioPlayerWebPlugin"))
3325
BitsdojoWindowPlugin.register(with: registry.registrar(forPlugin: "BitsdojoWindowPlugin"))
34-
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
3526
FLTFirebaseAnalyticsPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAnalyticsPlugin"))
3627
FLTFirebaseAuthPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAuthPlugin"))
3728
FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
3829
FLTFirebaseMessagingPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseMessagingPlugin"))
3930
FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin"))
4031
FlutterLocalizationPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalizationPlugin"))
4132
FlutterNativeTimezonePlugin.register(with: registry.registrar(forPlugin: "FlutterNativeTimezonePlugin"))
42-
FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))
4333
FLTGoogleSignInPlugin.register(with: registry.registrar(forPlugin: "FLTGoogleSignInPlugin"))
44-
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
4534
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
46-
PlatformDeviceIdMacosPlugin.register(with: registry.registrar(forPlugin: "PlatformDeviceIdMacosPlugin"))
47-
PlatformDeviceIdMacosPlugin.register(with: registry.registrar(forPlugin: "PlatformDeviceIdMacosPlugin"))
48-
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
4935
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
50-
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
51-
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
5236
}

0 commit comments

Comments
 (0)