Skip to content

.github/workflows/build_apk.yml #204

@amrut2708

Description

@amrut2708

name: Build Flutter APK

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
name: Build APK
runs-on: ubuntu-latest

steps:
  - name: Checkout repository
    uses: actions/checkout@v3

  - name: Setup Flutter
    uses: subosito/flutter-action@v2
    with:
      flutter-version: '3.13.0'

  - name: Install dependencies
    run: flutter pub get

  - name: Build APK
    run: flutter build apk --release

  - name: Upload APK
    uses: actions/upload-artifact@v3
    with:
      name: snabbit-apk
      path: build/app/outputs/flutter-apk/app-release.apk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions