File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 44 release :
55 types : [published]
66 workflow_dispatch :
7+ push :
8+ branches :
9+ - ci/windows-deployment # TEMP: remove after testing
710
811jobs :
912 deploy-ios :
@@ -143,3 +146,35 @@ jobs:
143146 APPSTORE_KEY_ID : ${{ secrets.APPSTORE_KEY_ID }}
144147 APPSTORE_KEY_ISSUER_ID : ${{ secrets.APPSTORE_KEY_ISSUER_ID }}
145148 APPSTORE_KEY_CONTENT_BASE64 : ${{ secrets.APPSTORE_KEY_CONTENT_BASE64 }}
149+
150+ deploy-windows :
151+ name : Build and Deploy Windows
152+ runs-on : windows-latest
153+ timeout-minutes : 30
154+ defaults :
155+ run :
156+ working-directory : example
157+
158+ steps :
159+ - uses : actions/checkout@v4
160+
161+ - uses : subosito/flutter-action@v2
162+ with :
163+ channel : stable
164+
165+ - run : flutter pub get
166+
167+ - name : Build Windows
168+ run : flutter build windows --release
169+
170+ - name : Create MSIX
171+ run : dart run msix:create --store
172+
173+ - name : Setup Microsoft Store Developer CLI
174+ uses : microsoft/setup-msstore-cli@v1
175+
176+ - name : Configure Microsoft Store Developer CLI
177+ run : msstore reconfigure --tenantId ${{ secrets.AZURE_AD_TENANT_ID }} --clientId ${{ secrets.AZURE_AD_CLIENT_ID }} --clientSecret ${{ secrets.AZURE_AD_CLIENT_SECRET }} --sellerId ${{ secrets.SELLER_ID }}
178+
179+ - name : Publish to Microsoft Store
180+ run : msstore publish . -v -id 9PF0B361V3HC
You can’t perform that action at this time.
0 commit comments