Update github_actions.yml #15
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: DPIP | |
on: | |
push: | |
branches: [ "Release" ] | |
pull_request: | |
branches: [ "Release" ] | |
jobs: | |
Android: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.10.6' | |
- run: flutter pub get | |
- run: flutter build apk | |
- run: flutter build appbundle | |
- name: Upload(apk) | |
uses: actions/upload-artifact@master | |
with: | |
name: "DPIP.apk" | |
path: build/app/outputs/flutter-apk/*.apk | |
- name: Upload(aab) | |
uses: actions/upload-artifact@master | |
with: | |
name: "DPIP.aab" | |
path: build/app/outputs/bundle/release/*.aab | |
iOS: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
architecture: x64 | |
- run: flutter pub get | |
- run: flutter build ios --release --no-codesign |