Skip to content

Commit

Permalink
concurency removed
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanm08 committed Feb 23, 2023
1 parent aaa55b7 commit 2c37b91
Showing 1 changed file with 7 additions and 31 deletions.
38 changes: 7 additions & 31 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "build multi platform apps"
name: "build multiplatform apps"

on:
push:
branches:
- master

jobs:
setup-flutter:
name: setup Flutter
build:
name: Build Apps
runs-on: macos-11
steps:
- name: Export Release Timestamp
Expand All @@ -23,23 +23,10 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Enable Windows
run: flutter config --enable-windows-desktop
- name: Install pub Dependencies
run: flutter pub get

build-android:
name: Build Android
runs-on: macos-11
needs: [setup-flutter]
steps:
- name: Build Android App
run: flutter build apk --split-per-abi
build-ios:
name: Build IOS
runs-on: macos-11
needs: [setup-flutter]
steps:
- name: Build iOS App
run: |
flutter build ios --no-codesign
Expand All @@ -56,11 +43,7 @@ jobs:
# flutter build fuchsia
# cd build/fuchsia/
# zip -r fuchsia.zip fuchsia
build-web:
name: Build WEB
runs-on: macos-11
needs: [setup-flutter]
steps:

- name: Build Web App with auto renderer
run: |
flutter build web --web-renderer auto
Expand All @@ -76,21 +59,14 @@ jobs:
flutter build web --web-renderer canvaskit
cd build/web
zip -r web-app-canvaskit.zip .
build-windows:
name: Build Windows
runs-on: macos-11
needs: [setup-flutter]
steps:
- name: Enable Windows
run: flutter config --enable-windows-desktop

- name: Build Windows
run: |
flutter build windows --tree-shake-icons
cd build/windows/runner/Release
zip -r windows-app.zip .
release:
name: Release
runs-on: macos-11
needs: [build-windows, build-web, build-ios, build-android]
steps:
- name: Release Apps
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 2c37b91

Please sign in to comment.