-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (32 loc) · 1.07 KB
/
deploy.yml
File metadata and controls
42 lines (32 loc) · 1.07 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
name: Isler Destek Build
on:
workflow_dispatch:
env:
flutter_version: "3.0.5"
jobs:
build:
name: Build Apps
runs-on: ubuntu-latest
steps:
- name: Export Release Timestamp
run: echo "APP_VERSION=v$(date +'%Y.%m.%d.%H.%M.%S')" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v2
- name: Cache Flutter dependencies
uses: actions/cache@v2
with:
path: /opt/hostedtoolcache/flutter
key: ${{ runner.OS }}-flutter-install-cache-${{ env.flutter_version }}
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
channel: stable
- name: Install dependencies
run: flutter pub get
- name: Build Android App
run: flutter build appbundle --release
- name: Build iOS App
run: flutter build ios --release --no-codesign
- name: Build Web App
run: flutter build web --web-renderer canvaskit --dart-define=BROWSER_IMAGE_DECODING_ENABLED=false --release