Skip to content

Commit 067f5f8

Browse files
committed
Updated github actions asthetics
1 parent 4ca695d commit 067f5f8

File tree

4 files changed

+26
-15
lines changed

4 files changed

+26
-15
lines changed

.github/workflows/android.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
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
@@ -81,6 +85,7 @@ jobs:
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:

.github/workflows/linux.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/macos.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
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

.github/workflows/web.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
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

0 commit comments

Comments
 (0)