-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (36 loc) · 934 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Build
on:
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
submodules: true
- name: Java Setup
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
- name: Flutter Setup
uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.6'
- name: Copy Application-Properties
run: |
cp match42-secret/.env .
- name: Pub Get Packages
run: flutter pub get
- name: Run Unit Test
run: flutter test
# - name: Upload Apk
# uses: actions/[email protected]
# with:
# name: android_debug_apk
# path: build/app/outputs/flutter-apk/app-debug.apk