Skip to content

Commit 65787ef

Browse files
committed
Update CD configuration
1 parent 104ed4a commit 65787ef

File tree

4 files changed

+8
-20
lines changed

4 files changed

+8
-20
lines changed

.github/workflows/flutter_build.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,10 @@ jobs:
1313

1414
runs-on: ubuntu-latest
1515

16-
env:
17-
GRADLE_OPTS: "-Xmx4096m"
18-
1916
steps:
2017
- name: Checkout
2118
uses: actions/checkout@v4
2219

23-
# - name: Ninja
24-
# uses: lukka/get-cmake@5f6e04f5267c8133f1273bf2103583fc72c46b17
25-
# with:
26-
# cmakeVersion: "3.22.1"
27-
# ninjaVersion: "^1.11.1"
28-
2920
- name: Setup Java
3021
uses: actions/setup-java@v4
3122
with:
@@ -76,6 +67,7 @@ jobs:
7667

7768
- name: Build Android App Bundle
7869
env:
70+
GRADLE_OPTS: -Xmx6144m
7971
KEEVAULT_ANDROID_BETA_KEYSTORE_PASSWORD: ${{ secrets.KEEVAULT_ANDROID_BETA_KEYSTORE_PASSWORD }}
8072
run: flutter build appbundle --dart-define KEEVAULT_STAGE=beta --dart-define KEEVAULT_CHANNEL=sideload
8173

@@ -121,7 +113,7 @@ jobs:
121113
- name: Choose xcode version
122114
uses: maxim-lobanov/setup-xcode@v1
123115
with:
124-
xcode-version: '16.2'
116+
xcode-version: '16.4'
125117

126118
- name: Build iOS Flutter App
127119
run: flutter build ios --config-only --release --no-codesign --dart-define KEEVAULT_STAGE=prod --dart-define KEEVAULT_NAME_SUFFIX= --dart-define KEEVAULT_ID_SUFFIX= --dart-define IAP_APPLE_APP_STORE=yes

.github/workflows/flutter_release_android.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717

18-
- name: Ninja
19-
uses: lukka/get-cmake@5f6e04f5267c8133f1273bf2103583fc72c46b17
20-
with:
21-
cmakeVersion: "~3.18.0"
22-
# ninjaVersion: "^1.11.1"
23-
2418
- name: Setup Java
2519
uses: actions/setup-java@v4
2620
with:
@@ -79,6 +73,7 @@ jobs:
7973

8074
- name: Build Android App APK for beta cloud service
8175
env:
76+
GRADLE_OPTS: -Xmx6144m
8277
KEEVAULT_ANDROID_BETA_KEYSTORE_PASSWORD: ${{ secrets.KEEVAULT_ANDROID_BETA_KEYSTORE_PASSWORD }}
8378
run: flutter build apk --dart-define KEEVAULT_STAGE=beta --dart-define KEEVAULT_CHANNEL=sideload
8479

@@ -100,6 +95,7 @@ jobs:
10095
- name: Build Android App Bundle
10196
if: ${{ !endsWith( github.event.release.tag_name, '_android_betaonly' ) }}
10297
env:
98+
GRADLE_OPTS: -Xmx6144m
10399
KEEVAULT_ANDROID_PLAY_KEYSTORE_PASSWORD: ${{ secrets.KEEVAULT_ANDROID_PLAY_KEYSTORE_PASSWORD }}
104100
run: flutter build appbundle --dart-define KEEVAULT_STAGE=prod --dart-define KEEVAULT_CHANNEL=play --dart-define IAP_GOOGLE_PLAY=yes
105101

.github/workflows/flutter_release_ios.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: ${{ !contains ( github.event.release.tag_name, '_' ) || endsWith( github.event.release.tag_name, '_ios' ) || endsWith( github.event.release.tag_name, '_ios_betaonly' ) }}
1010
# NB: ${{ syntax }} is required despite GitHub docs to the contrary. Appears that ! operator can't be used otherwise.
1111

12-
runs-on: macos-14
12+
runs-on: macos-15
1313
permissions: write-all
1414

1515
steps:
@@ -48,7 +48,7 @@ jobs:
4848
- name: Choose xcode version
4949
uses: maxim-lobanov/setup-xcode@v1
5050
with:
51-
xcode-version: '15.4'
51+
xcode-version: '16.4'
5252

5353
- name: Build iOS Flutter App
5454
run: flutter build ios --config-only --release --no-codesign --dart-define KEEVAULT_STAGE=beta --dart-define KEEVAULT_NAME_SUFFIX='(b)' --dart-define KEEVAULT_ID_SUFFIX=.beta
@@ -122,7 +122,7 @@ jobs:
122122
- name: Choose xcode version
123123
uses: maxim-lobanov/setup-xcode@v1
124124
with:
125-
xcode-version: '16.2'
125+
xcode-version: '16.4'
126126

127127
- name: Build iOS Flutter App
128128
run: flutter build ios --config-only --release --no-codesign --dart-define KEEVAULT_STAGE=prod --dart-define KEEVAULT_NAME_SUFFIX= --dart-define KEEVAULT_ID_SUFFIX= --dart-define IAP_APPLE_APP_STORE=yes

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
org.gradle.jvmargs=-Xmx1536M
1+
org.gradle.jvmargs=-Xmx6144m
22
android.useAndroidX=true
33
android.enableJetifier=true
44
android.defaults.buildfeatures.buildconfig=true

0 commit comments

Comments
 (0)