Skip to content

Commit

Permalink
hopefully fix flutter getting incorrect version number
Browse files Browse the repository at this point in the history
  • Loading branch information
SrS2225a committed Feb 2, 2025
1 parent 4c8d525 commit abfe1e4
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/flutter_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,26 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
submodules: true # Ensures the Flutter submodule is checked out

- name: Set up Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Set up Flutter
run: |
echo "Adding Flutter to PATH"
echo "$GITHUB_WORKSPACE/flutter/bin" >> $GITHUB_PATH
flutter/bin/flutter doctor
git submodule update --init --recursive
export PATH="$PATH:$(pwd)/flutter/bin"
flutter doctor
- name: Install dependencies
run: flutter/bin/flutter pub get
run: flutter pub get

- name: Build APK (Release)
run: flutter/bin/flutter build apk --release
run: flutter build apk --release

- name: Build App Bundle (AAB)
run: flutter/bin/flutter build appbundle --release
run: flutter build appbundle --release
37 changes: 37 additions & 0 deletions lib/services/database.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit abfe1e4

Please sign in to comment.