File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,3 +143,35 @@ jobs:
143143 APPSTORE_KEY_ID : ${{ secrets.APPSTORE_KEY_ID }}
144144 APPSTORE_KEY_ISSUER_ID : ${{ secrets.APPSTORE_KEY_ISSUER_ID }}
145145 APPSTORE_KEY_CONTENT_BASE64 : ${{ secrets.APPSTORE_KEY_CONTENT_BASE64 }}
146+
147+ deploy-windows :
148+ name : Build and Deploy Windows
149+ runs-on : windows-latest
150+ timeout-minutes : 30
151+ defaults :
152+ run :
153+ working-directory : example
154+
155+ steps :
156+ - uses : actions/checkout@v4
157+
158+ - uses : subosito/flutter-action@v2
159+ with :
160+ channel : stable
161+
162+ - run : flutter pub get
163+
164+ - name : Build Windows
165+ run : flutter build windows --release
166+
167+ - name : Create MSIX
168+ run : dart run msix:create --store
169+
170+ - name : Setup Microsoft Store Developer CLI
171+ uses : microsoft/setup-msstore-cli@v1
172+
173+ - name : Configure Microsoft Store Developer CLI
174+ run : msstore reconfigure --tenantId ${{ secrets.MICROSOFT_AZURE_AD_TENANT_ID }} --clientId ${{ secrets.MICROSOFT_AZURE_AD_CLIENT_ID }} --clientSecret ${{ secrets.MICROSOFT_AZURE_AD_CLIENT_SECRET }} --sellerId ${{ secrets.MICROSOFT_SELLER_ID }}
175+
176+ - name : Publish to Microsoft Store
177+ run : msstore publish . -v -id ${{ secrets.MICROSOFT_STORE_PRODUCT_ID }}
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ dev_dependencies:
2929 flutter_test :
3030 sdk : flutter
3131 flutter_lints : ^6.0.0
32+ msix : ^3.16.13
3233
3334flutter :
3435 uses-material-design : true
@@ -41,3 +42,14 @@ flutter:
4142 - assets/icons/
4243 - assets/fonts/
4344 - assets/data/
45+
46+ msix_config :
47+ display_name : FL Chart
48+ publisher_display_name : App2Pack
49+ identity_name : App2Pack.FLChart
50+ publisher : CN=FBB84607-3250-433E-9236-B21FF8A84B05
51+ msix_version : 1.2.0.0
52+ logo_path : assets/icons/fl_chart_logo_icon.png
53+ architecture : x64
54+ capabilities : internetClient
55+ store : true
You can’t perform that action at this time.
0 commit comments