Skip to content

Fine tune GitHub Action #4

Fine tune GitHub Action

Fine tune GitHub Action #4

name: Flutter CI
on:
push:
branches:
- main
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
flutter-version-fil22.2ubspec.yaml # path to p3.19.0

Check failure on line 20 in .github/workflows/flutter-workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/flutter-workflow.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Get dependencies
run: flutter pub get
- name: Build APK
run: flutter build apk --release
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: release-apk
path: build/app/outputs/flutter-apk/app-release.apk