GitHub

microsoft-store-apppublisher status

Setup MSStore Developer CLI

This repository contains the source code for the microsoft-store-apppublisher GitHub Action as well as the microsoft-store-apppublisher Azure DevOps extension.

This action/extension sets up the MSStore Developer CLI on a runner/agent. The MSStore Developer CLI is a command line interface that allows you to manage your Microsoft Store apps and in-app products.

Example (GitHub Action):

name: MSStore CLI
on: [push]
jobs:
  build:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v7
    - uses: microsoft/microsoft-store-apppublisher@v1.4
    - run: msstore reconfigure --tenantId ${{ secrets.PARTNER_CENTER_TENANT_ID }} --sellerId ${{ secrets.PARTNER_CENTER_SELLER_ID }} --clientId ${{ secrets.PARTNER_CENTER_CLIENT_ID }} --clientSecret ${{ secrets.PARTNER_CENTER_CLIENT_SECRET }}
    - run: msstore apps list

Example (Azure DevOps extension):

name: MSStore CLI
trigger:
- main
pool:
  vmImage: 'windows-latest'
steps:
- checkout: self
- task: UseMSStoreCLI@0
- script: msstore reconfigure --tenantId $(PARTNER_CENTER_TENANT_ID) --sellerId $(PARTNER_CENTER_SELLER_ID) --clientId $(PARTNER_CENTER_CLIENT_ID) --clientSecret $(PARTNER_CENTER_CLIENT_SECRET)
- script: msstore apps list

Read the original on github.com ↗