-
Notifications
You must be signed in to change notification settings - Fork 5k
Expand file tree
/
Copy pathmain.yml
More file actions
36 lines (27 loc) · 740 Bytes
/
main.yml
File metadata and controls
36 lines (27 loc) · 740 Bytes
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
name: Upgraded Protocol Activation & Release
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.0'
- name: Install Dependencies
run: flutter pub get
- name: Build APK
run: flutter build apk --release
- name: Upload APK Artifact
uses: actions/upload-artifact@v4
with:
name: release-apk
path: build/app/outputs/flutter-apk/app-release.apk