diff --git a/.gitea/workflows/frontend_deploy-beta.yaml b/.gitea/workflows/frontend_deploy-beta.yaml index 9b28cd0..5444e1e 100644 --- a/.gitea/workflows/frontend_deploy-beta.yaml +++ b/.gitea/workflows/frontend_deploy-beta.yaml @@ -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: diff --git a/.gitea/workflows/workflow_build-app-ios.yaml b/.gitea/workflows/workflow_build-app-ios.yaml index b2822cf..236efa3 100644 --- a/.gitea/workflows/workflow_build-app-ios.yaml +++ b/.gitea/workflows/workflow_build-app-ios.yaml @@ -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: