Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellet committed Dec 8, 2023
1 parent 34030f1 commit cb04c3b
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
# - name: Check flutter version
# run: flutter --version

# # Sh scripts is not supported on windows
# - name: Enable Local Dev
# run: ./scripts/enable_local_dev.sh

Expand All @@ -63,30 +64,30 @@ jobs:
# run: flutter build windows --release --verbose --dart-define=CI=true
# working-directory: ./example

build_macOS:
name: Build macOS App
runs-on: macos-latest
# build_macOS:
# name: Build macOS App
# runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
# steps:
# - uses: actions/checkout@v4
# - uses: subosito/flutter-action@v2
# with:
# channel: 'stable'
# cache: true

- name: Check flutter version
run: flutter --version
# - name: Check flutter version
# run: flutter --version

- name: Enable Local Dev
run: ./scripts/enable_local_dev.sh
# - name: Enable Local Dev
# run: ./scripts/enable_local_dev.sh

- name: Install dependencies
run: flutter pub get
# - name: Install dependencies
# run: flutter pub get

- name: Flutter build macOS
run: flutter build macos --release --verbose --dart-define=CI=true
working-directory: ./example
# - name: Flutter build macOS
# run: flutter build macos --release --verbose --dart-define=CI=true
# working-directory: ./example

- name: Flutter build iOS
run: flutter build ios --release --verbose --dart-define=CI=true
working-directory: ./example
# - name: Flutter build iOS
# run: flutter build ios --release --verbose --dart-define=CI=true
# working-directory: ./example

0 comments on commit cb04c3b

Please sign in to comment.