Skip to content

app release

app release #1

Workflow file for this run

name: Flutter Release
on:
push:
branches:
- main
jobs:
build:
name: Build and Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '2.x'
- name: Install dependencies
run: flutter pub get
- name: Build APK
run: flutter build apk --release
- name: Release APK
uses: softprops/action-gh-release@v1
with:
files: build/app/outputs/flutter-apk/app-release.apk
token: ${{ secrets.TOKEN }}
body: |
This is the release of the latest version of the Pet Adoption App.