Merge pull request #38 from kyeshmz/renovate/main-dart-3.x #52
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: android_cicd | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- run: ls -la | |
- uses: subosito/flutter-action@v2.8.0 | |
with: | |
channel: "stable" | |
- uses: actions/checkout@v3 | |
- name: flutter pub get | |
run: flutter pub get | |
- name: Build APK | |
run: flutter build apk --release --build-number=$GITHUB_RUN_NUMBER | |
build-ios: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
cache: true | |
architecture: x64 | |
- run: flutter pub get | |
- run: flutter build ipa |