Issue 3: Implement JSON Import and Export Backup Functionality - UI (iOS) #242
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: Flutter Workflow | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.24.2' | |
channel: 'stable' | |
- run: flutter --version | |
- run: flutter pub get | |
- run: flutter packages pub run build_runner build --delete-conflicting-outputs | |
# - run: flutter test | |
# - run: flutter build apk --debug | |
- run: flutter build web | |
- run: flutter build macos | |
- name: 🎯 Deploy to firebase | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: ${{ secrets.GITHUB_TOKEN }} | |
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_INVOICES_APP_C2491 }} | |
projectId: invoices-app-c2491 | |
channelId: ${{ github.event.number }} | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.24.2' | |
channel: 'stable' | |
- run: flutter --version | |
- run: flutter pub get | |
- run: flutter packages pub run build_runner build --delete-conflicting-outputs | |
- run: flutter analyze |