rolling build stuff

This commit is contained in:
Mercurio 2023-11-10 11:24:33 +01:00 committed by GitHub
parent 3b489503ec
commit 39c74199df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

31
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,31 @@
name: Flutter Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Flutter
uses: subosito/flutter-action@v2 # Replace with the actual version
with:
channel: 'stable'
- name: Get dependencies
run: flutter pub get
- name: Build APK
run: flutter build apk --debug
- name: Upload APK artifact
uses: actions/upload-artifact@v2
with:
name: app-debug
path: build/app/outputs/flutter-apk/app-debug.apk