Skip to content

Coding

Coding #7

Workflow file for this run

name: Flutter CI - PROD
on:
push:
branches: [ "production" ]
pull_request:
branches: [ "production" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Get dependencies
run: flutter pub get
#- name: Run tests
# run: flutter test
- name: Build APK
run: flutter build apk --release
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: flutter-apk
path: build/app/outputs/apk/release/*.apk