7 Commits

Author SHA1 Message Date
a0fac1cb69 ridiculous
Some checks failed
Build and release release apps to production track / Get version (pull_request) Successful in 30s
Build and release release apps to production track / Build and upload ios app (pull_request) Failing after 1m32s
2025-04-27 16:39:27 +02:00
e15689ef22 so now sed is broken?
Some checks failed
Build and release release apps to production track / Get version (pull_request) Successful in 37s
Build and release release apps to production track / Build and upload ios app (pull_request) Failing after 1m46s
2025-04-27 16:26:41 +02:00
5313016312 more cocoapods issues
Some checks failed
Build and release release apps to production track / Get version (pull_request) Successful in 43s
Build and release release apps to production track / Build and upload ios app (pull_request) Failing after 2m51s
2025-04-27 16:02:49 +02:00
2d29a61dfa why is rsync now required?
Some checks failed
Build and release release apps to production track / Get version (pull_request) Successful in 54s
Build and release release apps to production track / Build and upload ios app (pull_request) Failing after 2m14s
2025-04-27 15:23:51 +02:00
7c8b44559d test ios deployment only
Some checks failed
Build and release release apps to production track / Get version (pull_request) Successful in 1m52s
Build and release release apps to production track / Build and upload ios app (pull_request) Has been cancelled
2025-04-27 14:14:01 +02:00
342a8b9e4d prevent builds from runnning in parallel
Some checks failed
Build and release release apps to production track / Get version (pull_request) Successful in 35s
Build and release release apps to production track / Build and upload android app (pull_request) Failing after 10m44s
Build and release release apps to production track / Build and upload ios app (pull_request) Has been skipped
2025-04-21 00:46:37 +02:00
15c674fadf move fastlane metadata to correct location
Some checks failed
Build and release release apps to production track / Get version (pull_request) Successful in 41s
Build and release release apps to production track / Build and upload ios app (pull_request) Failing after 2m12s
Build and release release apps to production track / Build and upload android app (pull_request) Failing after 10m36s
2025-04-21 00:25:21 +02:00
12 changed files with 24 additions and 19 deletions

View File

@@ -22,24 +22,24 @@ jobs:
# remove the 'v' prefix from the tag name
echo "BUILD_NAME=${LATEST_TAG//v}" >> $GITHUB_ENV
build-android:
name: Build and upload android app
uses: ./.gitea/workflows/workflow_build-app-android.yaml
with:
build_type: beta
build_name: ${{ env.BUILD_NAME }}
secrets:
ANDROID_SECRET_PROPERTIES_BASE64: ${{ secrets.ANDROID_SECRET_PROPERTIES_BASE64 }}
ANDROID_GOOGLE_PLAY_JSON_BASE64: ${{ secrets.ANDROID_GOOGLE_PLAY_JSON_BASE64 }}
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
ANDROID_GOOGLE_MAPS_API_KEY: ${{ secrets.ANDROID_GOOGLE_MAPS_API_KEY }}
needs: get-version
# build-android:
# name: Build and upload android app
# uses: ./.gitea/workflows/workflow_build-app-android.yaml
# with:
# build_type: release # for current testing
# build_name: ${{ env.BUILD_NAME }}
# secrets:
# ANDROID_SECRET_PROPERTIES_BASE64: ${{ secrets.ANDROID_SECRET_PROPERTIES_BASE64 }}
# ANDROID_GOOGLE_PLAY_JSON_BASE64: ${{ secrets.ANDROID_GOOGLE_PLAY_JSON_BASE64 }}
# ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
# ANDROID_GOOGLE_MAPS_API_KEY: ${{ secrets.ANDROID_GOOGLE_MAPS_API_KEY }}
# needs: get-version
build-ios:
name: Build and upload ios app
uses: ./.gitea/workflows/workflow_build-app-ios.yaml
with:
build_type: beta
build_type: release # for current testing
build_name: ${{ env.BUILD_NAME }}
secrets:
IOS_ASC_KEY_ID: ${{ secrets.IOS_ASC_KEY_ID }}
@@ -49,3 +49,5 @@ jobs:
IOS_MATCH_PASSWORD: ${{ secrets.IOS_MATCH_PASSWORD }}
IOS_GOOGLE_MAPS_API_KEY: ${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}
needs: get-version
# needs: build-android # technically not needed, but this prevents the builds from running in parallel

View File

@@ -43,7 +43,7 @@ jobs:
IOS_ASC_KEY_ID: ${{ secrets.IOS_ASC_KEY_ID }}
IOS_ASC_ISSUER_ID: ${{ secrets.IOS_ASC_ISSUER_ID }}
IOS_ASC_KEY: ${{ secrets.IOS_ASC_KEY }}
IOS_MATCH_PASSWORD: ${{ secrets.IOS_MATCH_PASSWORD }}
IOS_MATCH_REPO_SSH_KEY_BASE64: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
IOS_MATCH_PASSWORD: ${{ secrets.IOS_MATCH_PASSWORD }}
IOS_GOOGLE_MAPS_API_KEY: ${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}
needs: get-version
needs: build-android # technically not needed, but this prevents the builds from running in parallel

View File

@@ -53,9 +53,12 @@ jobs:
ruby-version: 3.3
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: GuillaumeFalourd/setup-rsync@v1.2
- name: Install dependencies and clean up
run: |
flutter pub get
flutter precache --ios
bundle exec pod install --allow-root
flutter clean
bundle exec pod cache clean --all --allow-root

View File

@@ -32,7 +32,7 @@ platform :ios do
sh(
"sed",
"-i",
"",
"''",
"s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g",
"../Runner/AppDelegate.swift"
)
@@ -78,7 +78,7 @@ platform :ios do
sh(
"sed",
"-i",
"",
"''",
"s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g",
"../Runner/AppDelegate.swift"
)