1
0
mirror of https://github.com/go-vikunja/app synced 2025-05-16 22:48:08 +00:00
app-mirror-github/.github/workflows/build-unsigned-debug.yml

41 lines
1.0 KiB
YAML
Raw Normal View History

2022-08-07 18:14:09 +02:00
name: Flutter Build Unsigned Debug
on: [push, pull_request]
2022-08-07 18:14:09 +02:00
jobs:
build-app:
name: Build Unsigned APK
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Java
uses: actions/setup-java@v1
with:
2024-05-23 00:41:54 +02:00
java-version: '17.x'
2022-08-07 18:14:09 +02:00
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
channel: stable
- name: Cache pub dependencies
uses: actions/cache@v2
with:
path: ${{ env.FLUTTER_HOME }}/.pub-cache
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
restore-keys: ${{ runner.os }}-pub-
- name: Download pub dependencies
run: flutter pub get
- name: Build Debug Build
2023-01-07 13:44:51 +01:00
run: flutter build apk --debug --flavor core
2022-08-07 18:14:09 +02:00
2024-02-12 23:12:33 +01:00
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
2024-02-12 23:30:56 +01:00
name: app-core-debug.apk
path: build/app/outputs/flutter-apk/app-core-debug.apk
2024-02-12 23:21:23 +01:00
compression-level: 0