Fastlane fixes working up to a full release #68
| @@ -5,7 +5,7 @@ on: | |||||||
|     paths: |     paths: | ||||||
|       - frontend/** |       - frontend/** | ||||||
|  |  | ||||||
| name: Build and release release apps to production track | name: Build and release apps to beta track | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   get-version: |   get-version: | ||||||
|   | |||||||
| @@ -37,6 +37,14 @@ jobs: | |||||||
|       BUNDLE_GEMFILE: ${{ gitea.workspace }}/frontend/ios/Gemfile |       BUNDLE_GEMFILE: ${{ gitea.workspace }}/frontend/ios/Gemfile | ||||||
|  |  | ||||||
|     steps: |     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 |       - uses: https://gitea.com/actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Install Flutter |       - name: Install Flutter | ||||||
| @@ -54,6 +62,7 @@ jobs: | |||||||
|           bundler-cache: true # runs 'bundle install' and caches installed gems automatically |           bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||||||
|  |  | ||||||
|       - uses: GuillaumeFalourd/setup-rsync@v1.2 |       - uses: GuillaumeFalourd/setup-rsync@v1.2 | ||||||
|  |         # rsync is required by the google maps ios tools | ||||||
|  |  | ||||||
|       - name: Install dependencies and clean up |       - name: Install dependencies and clean up | ||||||
|         run: | |         run: | | ||||||
| @@ -77,11 +86,6 @@ jobs: | |||||||
|         run: | |         run: | | ||||||
|           sed -i '' -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift |           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 |       - name: Run fastlane lane | ||||||
|         run: bundle exec fastlane deploy_${{ inputs.build_type }} |         run: bundle exec fastlane deploy_${{ inputs.build_type }} | ||||||
|         env: |         env: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user