Skip to content

Commit dd63e47

Browse files
committed
MacOS build test
1 parent 7d09353 commit dd63e47

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

.github/workflows/main.yml

+26-25
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ jobs:
123123
- run: |
124124
cd app
125125
flutter config --enable-macos-desktop
126+
flutter pub global activate flutterfire_cli
126127
flutter pub get
127128
flutter build macos -t lib/main.firebase.dart --release
128129
cd build/macos/Build/Products/Release
@@ -134,31 +135,31 @@ jobs:
134135
token: ${{ secrets.TOKEN }}
135136
allowUpdates: true
136137

137-
windows:
138-
name: Windows
139-
runs-on: windows-latest
140-
steps:
141-
- name: Set up Flutter
142-
uses: subosito/flutter-action@v2
143-
with:
144-
flutter-version: '3.22.2'
145-
channel: 'stable'
138+
# windows:
139+
# name: Windows
140+
# runs-on: windows-latest
141+
# steps:
142+
# - name: Set up Flutter
143+
# uses: subosito/flutter-action@v2
144+
# with:
145+
# flutter-version: '3.22.2'
146+
# channel: 'stable'
146147

147-
- uses: actions/checkout@v4
148-
with:
149-
path: 'app'
148+
# - uses: actions/checkout@v4
149+
# with:
150+
# path: 'app'
150151

151-
- run: |
152-
cd app
153-
flutter config --enable-windows-desktop
154-
flutter pub get
155-
flutter build windows --release
156-
cd build\windows\runner
157-
Compress-Archive -Path Release -DestinationPath windows-release.zip
152+
# - run: |
153+
# cd app
154+
# flutter config --enable-windows-desktop
155+
# flutter pub get
156+
# flutter build windows --release
157+
# cd build\windows\runner
158+
# Compress-Archive -Path Release -DestinationPath windows-release.zip
158159

159-
- name: Windows release build for github
160-
uses: ncipollo/release-action@v1
161-
with:
162-
artifacts: 'app\build\windows\runner\windows-release.zip'
163-
token: ${{ secrets.TOKEN }}
164-
allowUpdates: true
160+
# - name: Windows release build for github
161+
# uses: ncipollo/release-action@v1
162+
# with:
163+
# artifacts: 'app\build\windows\runner\windows-release.zip'
164+
# token: ${{ secrets.TOKEN }}
165+
# allowUpdates: true

0 commit comments

Comments
 (0)