You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*When the package.msix is updated as part of the CI/CD flow in the release folder, the AppPackageAutoUpdate.yml workflow is triggered automatically.
89
+
When the package.msix is updated as part of the CI/CD flow in the release folder, the AppPackageAutoUpdate.yml workflow is triggered automatically.
91
90
92
-
### Step 2
91
+
### For metadata updates
93
92
94
-
#### For metadata updates
95
-
* Before publishing metadata updates for the first time, obtain the base metadata JSON from Partner Center for your app submission. This ensures you start with the correct structure for your app. So, create a GitHub Actions workflow under .github/workflows/GetBaseMetadata.yml using the provided snippet:
93
+
Before publishing metadata updates for the first time, obtain the base metadata JSON from Partner Center for your app submission. This ensures you start with the correct structure for your app. So, create a GitHub Actions workflow under .github/workflows/GetBaseMetadata.yml using the provided snippet:
96
94
97
95
```console
98
96
name: GetBaseMetadata
@@ -123,14 +121,13 @@ jobs:
123
121
msstore submission get <Store product Id>
124
122
```
125
123
126
-
*Run this workflow from the Actions tab in your GitHub repository. Select the relevant workflow and click Run workflow.
124
+
Run this workflow from the Actions tab in your GitHub repository. Select the relevant workflow and click Run workflow.
127
125
128
126
:::image type="content" source="../images/github-actions-get-base-metadata-workflow-msix.png" lightbox="../images/github-actions-get-base-metadata-workflow-msix.png" alt-text="A screenshot showing workflow run process for obtaining base metadata for MSIX app.":::
129
127
130
-
* Upon completion, the workflow will obtain the metadata for your app in the build logs.
131
-
* Copy this and create a metadata.json file in the metadata folder.
128
+
Upon completion, the workflow will obtain the metadata for your app in the build logs. Copy this and create a metadata.json file in the metadata folder.
132
129
133
-
*Now, under .github/workflows/, create AppMetadataAutoUpdate.yml using the provided workflow snippet:
130
+
Now, under .github/workflows/, create AppMetadataAutoUpdate.yml using the provided workflow snippet:
*When metadata.json gets updated as part of the CI/CD flow in the metadata folder, it will automatically trigger the AppMetadataAutoUpdate.yml workflow.
166
+
When metadata.json gets updated as part of the CI/CD flow in the metadata folder, it will automatically trigger the AppMetadataAutoUpdate.yml workflow.
168
167
169
168
The above workflows will do the following in the background:
170
169
* Invoke the GitHub Action (microsoft-store-apppublisher)
@@ -173,18 +172,13 @@ The above workflows will do the following in the background:
173
172
174
173
For more information on commands, refer [Microsoft Store Developer CLI (MSIX)](https://learn.microsoft.com/windows/apps/publish/msstore-dev-cli/overview).
175
174
176
-
### Step 3
177
-
178
-
After your GitHub Actions workflow completes successfully, check the Microsoft Store to confirm that your changes are live. Updates will appear after the certification process in Partner Center is complete.
179
-
180
175
## [MSI/EXE](#tab/msiexe)
181
176
182
177
[Add the GitHub Action Workflow](https://docs.github.com/actions/tutorials/create-an-example-workflow) to invoke the Microsoft GitHub action (microsoft-store-apppublisher) for publishing package and app metadata updates to store.
183
178
184
-
### Step 1
179
+
### For package updates
185
180
186
-
#### For package updates
187
-
* Before publishing updates for the first time, obtain the base package JSON from Partner Center for your app submission. This ensures you start with the correct structure for your app. So, create a GitHub Actions workflow under .github/workflows/GetBasePackage.yml using the provided snippet:
181
+
Before publishing updates for the first time, obtain the base package JSON from Partner Center for your app submission. This ensures you start with the correct structure for your app. So, create a GitHub Actions workflow under .github/workflows/GetBasePackage.yml using the provided snippet:
188
182
189
183
```console
190
184
name: GetBasePackage
@@ -215,14 +209,13 @@ jobs:
215
209
msstore submission get <Partner center Id>
216
210
```
217
211
218
-
*Run this workflow from the Actions tab in your GitHub repository. Select the relevant workflow and click Run workflow.
212
+
Run this workflow from the Actions tab in your GitHub repository. Select the relevant workflow and click Run workflow.
219
213
220
214
:::image type="content" source="../images/github-actions-get-base-package-workflow-exe.png" lightbox="../images/github-actions-get-base-package-workflow-exe.png" alt-text="A screenshot showing workflow run process for obtaining base package info for EXE app.":::
221
215
222
-
* Upon completion, the workflow will obtain the package info for your app in the build logs.
223
-
* Copy this and create a package.json file in the release folder.
216
+
Upon completion, the workflow will obtain the package info for your app in the build logs. Copy this and create a package.json file in the release folder.
224
217
225
-
*Now, under .github/workflows/, create AppPackageAutoUpdate.yml using the provided workflow snippet:
218
+
Now, under .github/workflows/, create AppPackageAutoUpdate.yml using the provided workflow snippet:
226
219
227
220
```console
228
221
name: AppPackageAutoUpdate
@@ -259,12 +252,11 @@ jobs:
259
252
msstore submission publish <Partner center Id>
260
253
```
261
254
262
-
*When the package.json is updated as part of the CI/CD flow in the release folder, the AppPackageAutoUpdate.yml workflow is triggered automatically.
255
+
When the package.json is updated as part of the CI/CD flow in the release folder, the AppPackageAutoUpdate.yml workflow is triggered automatically.
263
256
264
-
### Step 2
257
+
### For metadata updates
265
258
266
-
#### For metadata updates
267
-
* Next, for metadata, obtain the base metadata JSON from Partner Center for your app submission by creating a GitHub Actions workflow under .github/workflows/GetBaseMetadata.yml using the provided snippet:
259
+
Next, for metadata, obtain the base metadata JSON from Partner Center for your app submission by creating a GitHub Actions workflow under .github/workflows/GetBaseMetadata.yml using the provided snippet:
268
260
269
261
```console
270
262
name: GetBaseMetadata
@@ -295,14 +287,13 @@ jobs:
295
287
msstore submission get <Partner center Id> -m <module name>
296
288
```
297
289
298
-
*Run this workflow from the Actions tab in your GitHub repository. Select the relevant workflow and click Run workflow.
290
+
Run this workflow from the Actions tab in your GitHub repository. Select the relevant workflow and click Run workflow.
299
291
300
292
:::image type="content" source="../images/github-actions-get-base-metadata-workflow-exe.png" lightbox="../images/github-actions-get-base-metadata-workflow-exe.png" alt-text="A screenshot showing workflow run process for obtaining base metadata for EXE app.":::
301
293
302
-
* Upon completion, the workflow will obtain the metadata for the specified module for your app in the build logs.
303
-
* Copy this and create a metadata.json file in the metadata folder.
294
+
Upon completion, the workflow will obtain the metadata for the specified module for your app in the build logs. Copy this and create a metadata.json file in the metadata folder.
304
295
305
-
*Now, under .github/workflows/, create AppMetadataAutoUpdate.yml using the provided workflow snippet:
296
+
Now, under .github/workflows/, create AppMetadataAutoUpdate.yml using the provided workflow snippet:
306
297
307
298
```console
308
299
name: AppMetadataAutoUpdate
@@ -339,7 +330,7 @@ jobs:
339
330
msstore submission publish <Partner center Id>
340
331
```
341
332
342
-
*When metadata.json gets updated as part of the CI/CD flow in the metadata folder, it will automatically trigger the AppMetadataAutoUpdate.yml workflow.
333
+
When metadata.json gets updated as part of the CI/CD flow in the metadata folder, it will automatically trigger the AppMetadataAutoUpdate.yml workflow.
343
334
344
335
The above workflows will do the following in the background:
345
336
* Invoke the GitHub Action (microsoft-store-apppublisher)
@@ -348,10 +339,8 @@ The above workflows will do the following in the background:
348
339
349
340
For more information on commands, refer [Microsoft Store Developer CLI (MSI/EXE)](https://learn.microsoft.com/windows/apps/publish/msstore-dev-cli/overview-exe).
350
341
351
-
### Step 3
342
+
---
352
343
353
344
After your GitHub Actions workflow completes successfully, check the Microsoft Store to confirm that your changes are live. Updates will appear after the certification process in Partner Center is complete.
354
345
355
-
---
356
-
357
346
We trust that this document will help significantly enhance the efficiency and reliability of your Microsoft Store update process. By following these best practices, you can streamline app publishing and ensure a consistent, high-quality release experience.
0 commit comments