moore fixes
Some checks failed
Build and release apps to beta track / Get version (pull_request) Successful in 45s
Build and release apps to beta track / Build and upload ios app (pull_request) Failing after 42s

This commit is contained in:
Remy Moll 2025-04-28 16:10:41 +02:00
parent 986b3f6927
commit 26294d747c
2 changed files with 10 additions and 6 deletions

View File

@ -5,7 +5,7 @@ on:
paths:
- frontend/**
name: Build and release release apps to production track
name: Build and release apps to beta track
jobs:
get-version:

View File

@ -37,6 +37,14 @@ jobs:
BUNDLE_GEMFILE: ${{ gitea.workspace }}/frontend/ios/Gemfile
steps:
- name: Fail if runner is not macOS
# reusable worflows are not really supported so the runs-on label is not respected
run: |
if [[ "$OSTYPE" != "darwin"* ]]; then
echo "This workflow is only supported on macOS. Just rerun the workflow until it is picked up by a macOS runner."
exit 1
fi
- uses: https://gitea.com/actions/checkout@v4
- name: Install Flutter
@ -54,6 +62,7 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: GuillaumeFalourd/setup-rsync@v1.2
# rsync is required by the google maps ios tools
- name: Install dependencies and clean up
run: |
@ -77,11 +86,6 @@ jobs:
run: |
sed -i '' -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift
- name: Test flutter
run: |
flutter doctor -v
flutter build ipa --help
- name: Run fastlane lane
run: bundle exec fastlane deploy_${{ inputs.build_type }}
env: