@@ -31,7 +31,7 @@ permissions:
3131jobs :
3232 prepare-release :
3333 runs-on : macos-latest
34- timeout-minutes : 15
34+ timeout-minutes : 20
3535
3636 steps :
3737 - uses : actions/checkout@v4
@@ -40,16 +40,39 @@ jobs:
4040 fetch-depth : 0
4141 token : ${{ secrets.GITHUB_TOKEN }}
4242
43- - name : Run Updates
43+ - name : Setup Java
44+ uses : actions/setup-java@v4
45+ with :
46+ distribution : ' zulu' # Or temurin, etc.
47+ java-version : ' 17' # Choose appropriate Java version
48+
49+ - name : Setup Flutter
50+ uses : subosito/flutter-action@v2
51+ with :
52+ channel : ' stable'
53+
54+ - name : Run Version Updates
4455 run : |
4556 ./scripts/update_version.sh "${{ github.event.inputs.flutter_version }}" || exit 1
4657 if [ -n "${{ github.event.inputs.proxy_version }}" ]; then
58+ # Ensure xcodebuild is removed from this script (See Step 1 above)
4759 ./scripts/update_proxy_version.sh "${{ github.event.inputs.proxy_version }}" || exit 1
4860 fi
4961 ./scripts/update_changelog.sh "${{ github.event.inputs.flutter_version }}" \
5062 $([ -n "${{ github.event.inputs.ios_version }}" ] && echo "--ios ${{ github.event.inputs.ios_version }}") \
5163 $([ -n "${{ github.event.inputs.android_version }}" ] && echo "--android ${{ github.event.inputs.android_version }}") || exit 1
5264
65+ - name : Get Example Flutter dependencies
66+ # Run flutter pub get inside the example directory
67+ run : flutter pub get
68+ working-directory : ./example
69+
70+ - name : Resolve iOS Package Dependencies
71+ # Run xcodebuild inside the example/ios directory
72+ run : xcodebuild -resolvePackageDependencies
73+ working-directory : ./example/ios
74+ # -------------------------------------
75+
5376 - name : Verify Changes
5477 id : verify
5578 run : |
0 commit comments