-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.22 KB
/
build-android-debug.yml
File metadata and controls
51 lines (44 loc) · 1.22 KB
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
46
47
48
49
50
51
name: "Debug Build APK"
on:
workflow_dispatch:
jobs:
build-debug:
name: "Build Debug APK"
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Set up Java"
uses: actions/setup-java@v4
with:
distribution: "oracle"
java-version: "22"
- name: "Set up Gradle"
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: wrapper
- name: "Set up Flutter"
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: pubspec.yaml
cache: true
- name: "Setup Ruby"
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
working-directory: 'android'
bundler-cache: true
- name: "Run Fastlane Debug Build"
id: fastlane
uses: maierj/fastlane-action@v3.1.0
with:
lane: build_debug
subdirectory: android
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: "Upload Debug APK"
uses: actions/upload-artifact@v4
with:
name: movetopia-debug
path: android/fastlane/build/outputs/movetopia-debug.apk