File tree Expand file tree Collapse file tree 4 files changed +26
-15
lines changed Expand file tree Collapse file tree 4 files changed +26
-15
lines changed Original file line number Diff line number Diff line change 1212 contents : read
1313 pages : write
1414 id-token : write
15+
1516 steps :
1617 - name : Cache Gradle files
1718 uses : actions/cache@v3
@@ -59,10 +60,13 @@ jobs:
5960 run : |
6061 cd app
6162 dart ./scripts/keys-n-stuff.dart
63+
6264 - name : Install pub dependencies
6365 run : cd app && flutter pub get
66+
6467 - name : Sync android version
6568 run : cd app && dart scripts/version_sync.dart
69+
6670 - run : |
6771 cd app
6872 flutter build apk -t lib/main.firebase.dart --release
8185 with :
8286 name : " app-release.aab"
8387 path : " app/build/app/outputs/bundle/release/app-release.aab"
88+
8489 - uses : actions/upload-artifact@v4
8590 with :
8691 name : " app-release.apk"
@@ -105,11 +110,6 @@ jobs:
105110 with :
106111 name : app-release.aab
107112 path : artifacts
108- - run : ls -lah
109- - run : ls -lah keys/
110- - run : ls -lah keys/fuid
111- - run : ls -lah artifacts
112- - run : ls -lah artifacts/app-release.aab
113113 - name : Upload app bundle to Google Play
114114 uses : r0adkll/upload-google-play@v1
115115 with :
Original file line number Diff line number Diff line change @@ -37,10 +37,14 @@ jobs:
3737 sudo apt-get install -y curl git unzip xz-utils zip libglu1-mesa
3838 sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev
3939
40+ - name : Enable linux desktop support
41+ run : flutter config --enable-linux-desktop
42+
43+ - name : Install pub dependencies
44+ run : cd app && flutter pub get
45+
4046 - run : |
4147 cd app
42- flutter config --enable-linux-desktop
43- flutter pub get
4448 flutter build linux --release
4549 cd build/linux/x64/release
4650 zip -r linux-release.zip bundle
Original file line number Diff line number Diff line change 1313 uses : subosito/flutter-action@v2
1414 with :
1515 cache : true
16- flutter-version : " 3.22.2 "
16+ flutter-version : " 3.24.5 "
1717 channel : " stable"
1818
1919 - uses : actions/checkout@v4
@@ -41,11 +41,14 @@ jobs:
4141 cd app
4242 dart ./scripts/keys-n-stuff.dart
4343
44+ - name : Enable MacOS desktop support
45+ run : flutter config --enable-macos-desktop
46+
47+ - name : Install pub dependencies
48+ run : cd app && flutter pub get
49+
4450 - run : |
4551 cd app
46- flutter config --enable-macos-desktop
47- flutter pub global activate flutterfire_cli
48- flutter pub get
4952 flutter build macos -t lib/main.firebase.dart --release
5053 cd build/macos/Build/Products/Release
5154 ditto -c -k --sequesterRsrc --keepParent flutter_uis.app macos-release.zip
Original file line number Diff line number Diff line change 1212 contents : read
1313 pages : write
1414 id-token : write
15+
1516 environment :
1617 name : github-pages
1718 url : ${{ steps.deployment.outputs.page_url }}
19+
1820 steps :
1921 - name : Set up Flutter
2022 uses : subosito/flutter-action@v2
@@ -38,17 +40,19 @@ jobs:
3840 ${{ runner.os }}-pub-
3941
4042 - uses : oven-sh/setup-bun@v2
41- with :
42- cache : true
4343
4444 - name : Setup Pages
4545 uses : actions/configure-pages@v5
4646
47+ - name : Enable web support
48+ run : flutter config --enable-web
49+
50+ - name : Install pub dependencies
51+ run : cd app && flutter pub get
52+
4753 - name : Build web release
4854 run : |
4955 cd app
50- flutter config --enable-web
51- flutter pub get
5256 flutter build web -t lib/main.web.dart --release --no-tree-shake-icons --wasm
5357
5458 - name : Deploy cloudflare pages
You can’t perform that action at this time.
0 commit comments