chore: Update Gradle distribution to version 8.3 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build IOS & Android" | |
on: | |
push: | |
branches: | |
- test | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "temurin" # Changed from 'zulu' to 'temurin' | |
java-version: "17" # Updated to Java 17 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.24.0" # Updated to match your Flutter version | |
channel: "stable" | |
- name: Update Gradle wrapper | |
run: | | |
cd android | |
./gradlew wrapper --gradle-version 8.3 # Update to a compatible Gradle version | |
cd .. | |
- name: Get dependencies | |
run: flutter pub get | |
- name: Build APK | |
run: flutter build apk --release |