mirror of
https://github.com/go-vikunja/app
synced 2024-06-01 02:06:51 +00:00
Create build-unsigned-release.yml
This commit is contained in:
parent
008ffba429
commit
1cf9cc9010
41
.github/workflows/build-unsigned-release.yml
vendored
Normal file
41
.github/workflows/build-unsigned-release.yml
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
name: Flutter Build Unsigned Release
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
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:
|
||||
java-version: '12.x'
|
||||
|
||||
- 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
|
||||
run: flutter build apk --release --flavor core
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: app-core-debug.apk
|
||||
path: build/app/outputs/flutter-apk/app-core-debug.apk
|
||||
compression-level: 0
|
Loading…
Reference in New Issue
Block a user