feat: Refactor authentication and task management flow #1
This file contains hidden or 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: Flutter CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.27.1' # Updated to latest stable version | |
| channel: 'stable' | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Analyze project source | |
| run: flutter analyze | |
| - name: Build APK | |
| run: flutter build apk --release | |
| - name: Build App Bundle | |
| run: flutter build appbundle --release | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: release-apk | |
| path: build/app/outputs/flutter-apk/app-release.apk | |
| - name: Upload App Bundle | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: release-bundle | |
| path: build/app/outputs/bundle/release/app-release.aab |