Skip to content

Commit 2066f43

Browse files
committed
ci,docs: Add repository secret, fix CI/CD pipeline, add ignore files in .gitignore
1 parent d396db6 commit 2066f43

5 files changed

Lines changed: 262 additions & 100 deletions

File tree

.github/workflows/production.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -78,31 +78,4 @@ jobs:
7878
uses: actions/upload-artifact@v4
7979
with:
8080
name: production-appbundle
81-
path: build/app/outputs/bundle/release/app-release.aab
82-
build-ios:
83-
name: Build Unsigned iOS (Validation Only)
84-
needs: verify
85-
runs-on: macos-latest
86-
if: github.event_name == 'push'
87-
steps:
88-
- name: Checkout Repository
89-
uses: actions/checkout@v4
90-
- name: Setup Flutter
91-
uses: subosito/flutter-action@v2
92-
with:
93-
channel: "stable"
94-
cache: true
95-
- name: Install Dependencies
96-
run: flutter pub get
97-
- name: Generate env.json
98-
run: |
99-
cat <<EOF > env.json
100-
{
101-
"API_BASE_URL": "${{ secrets.API_BASE_URL }}"
102-
}
103-
EOF
104-
- name: Build iOS (Unsigned)
105-
run: |
106-
flutter build ios --release --no-codesign \
107-
--dart-define-from-file=env.json \
108-
--dart-define=APP_ENV=production
81+
path: build/app/outputs/bundle/release/app-release.aab

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ render.experimental.xml
2626
# Keystore files
2727
*.jks
2828
*.keystore
29+
keystore.txt
2930

3031
# Google Services (e.g. APIs or Firebase)
3132
google-services.json

android/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
android {
77
namespace = "com.example.monet"
8-
compileSdk = flutter.compileSdkVersion
8+
compileSdk = 37
99
ndkVersion = flutter.ndkVersion
1010

1111
compileOptions {

android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
android.builtInKotlin=false
22
android.newDsl=false
3+
android.suppressUnsupportedCompileSdk=37
34
android.useAndroidX=true
45
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError

0 commit comments

Comments
 (0)