-
Notifications
You must be signed in to change notification settings - Fork 0
107 lines (84 loc) · 2.57 KB
/
releaseflow.yml
File metadata and controls
107 lines (84 loc) · 2.57 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# name: Build Flutter App on Release
# on:
# release:
# types: [created]
# jobs:
# build-android:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Set up Flutter
# uses: subosito/flutter-action@v2
# with:
# flutter-version: stable
# - name: Install dependencies
# run: flutter pub get
# - name: Build APK
# run: flutter build apk --release
# - name: Build AppBundle
# run: flutter build appbundle --release
# - name: Upload APK
# uses: actions/upload-artifact@v4
# with:
# name: android-apk
# path: build/app/outputs/flutter-apk/app-release.apk
# - name: Upload AAB
# uses: actions/upload-artifact@v4
# with:
# name: android-aab
# path: build/app/outputs/bundle/release/app-release.aab
# build-ios:
# runs-on: macos-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Set up Flutter
# uses: subosito/flutter-action@v2
# with:
# flutter-version: stable
# - name: Install dependencies
# run: flutter pub get
# - name: Build iOS
# run: flutter build ios --no-codesign
# - name: Upload iOS build
# uses: actions/upload-artifact@v4
# with:
# name: ios-build
# path: build/ios/iphoneos
# build-windows:
# runs-on: windows-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Set up Flutter
# uses: subosito/flutter-action@v2
# with:
# flutter-version: stable
# - name: Install dependencies
# run: flutter pub get
# - name: Build Windows
# run: flutter build windows
# - name: Upload Windows build
# uses: actions/upload-artifact@v4
# with:
# name: windows-build
# path: build/windows/runner/Release/
# build-linux:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Set up Flutter
# uses: subosito/flutter-action@v2
# with:
# flutter-version: stable
# - name: Install dependencies
# run: flutter pub get
# - name: Build Linux
# run: flutter build linux
# - name: Upload Linux build
# uses: actions/upload-artifact@v4
# with:
# name: linux-build
# path: build/linux/x64/release/bundle