Skip to content

Merge pull request #3 from TESLA2402/dependabot/pub/flutter_supabase/… #39

Merge pull request #3 from TESLA2402/dependabot/pub/flutter_supabase/…

Merge pull request #3 from TESLA2402/dependabot/pub/flutter_supabase/… #39

Workflow file for this run

name: Android Release
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
name: Create Android Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./flutter_supabase
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: "12.x"
cache: gradle
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Get dependencies
run: flutter pub get
- name: Upgrade dependencies
run: flutter pub upgrade
# Runs a set of commands using the runners shell
- name: Start release build
run: flutter build apk --no-tree-shake-icons --debug
- name: Create Release
uses: ncipollo/release-action@v1.13.0
with:
artifacts: "flutter_supabase/build/app/outputs/flutter-apk/app-debug.apk"
tag: v1.0.${{ github.run_number }}