Fastlane fixes working up to a full release #68
| @@ -30,31 +30,31 @@ jobs: | |||||||
|     outputs: |     outputs: | ||||||
|       build_name: ${{ steps.version.outputs.BUILD_NAME }} |       build_name: ${{ steps.version.outputs.BUILD_NAME }} | ||||||
|  |  | ||||||
|   build-android: |   # build-android: | ||||||
|     name: Build and upload android app |   #   name: Build and upload android app | ||||||
|     uses: ./.gitea/workflows/workflow_build-app-android.yaml |   #   uses: ./.gitea/workflows/workflow_build-app-android.yaml | ||||||
|     with: |  | ||||||
|       build_type: release # for current testing |  | ||||||
|       build_name: ${{ needs.get-version.outputs.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: |   #   with: | ||||||
|   #     build_type: release # for current testing |   #     build_type: release # for current testing | ||||||
|   #     build_name: ${{ needs.get-version.outputs.build_name }} |   #     build_name: ${{ needs.get-version.outputs.build_name }} | ||||||
|   #   secrets: |   #   secrets: | ||||||
|   #     IOS_ASC_KEY_ID: ${{ secrets.IOS_ASC_KEY_ID }} |   #     ANDROID_SECRET_PROPERTIES_BASE64: ${{ secrets.ANDROID_SECRET_PROPERTIES_BASE64 }} | ||||||
|   #     IOS_ASC_ISSUER_ID: ${{ secrets.IOS_ASC_ISSUER_ID }} |   #     ANDROID_GOOGLE_PLAY_JSON_BASE64: ${{ secrets.ANDROID_GOOGLE_PLAY_JSON_BASE64 }} | ||||||
|   #     IOS_ASC_KEY: ${{ secrets.IOS_ASC_KEY }} |   #     ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }} | ||||||
|   #     IOS_MATCH_REPO_SSH_KEY_BASE64: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }} |   #     ANDROID_GOOGLE_MAPS_API_KEY: ${{ secrets.ANDROID_GOOGLE_MAPS_API_KEY }} | ||||||
|   #     IOS_MATCH_PASSWORD: ${{ secrets.IOS_MATCH_PASSWORD }} |  | ||||||
|   #     IOS_GOOGLE_MAPS_API_KEY: ${{ secrets.IOS_GOOGLE_MAPS_API_KEY }} |  | ||||||
|   #   needs: get-version |   #   needs: get-version | ||||||
|   #   # needs: build-android # technically not needed, but this prevents the builds from running in parallel |  | ||||||
|  |   build-ios: | ||||||
|  |     name: Build and upload ios app | ||||||
|  |     uses: ./.gitea/workflows/workflow_build-app-ios.yaml | ||||||
|  |     with: | ||||||
|  |       build_type: release # for current testing | ||||||
|  |       build_name: ${{ needs.get-version.outputs.build_name }} | ||||||
|  |     secrets: | ||||||
|  |       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_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 | ||||||
|   | |||||||
| @@ -77,6 +77,11 @@ 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