setup-msstore-cli

A GitHub Action to facilitate configuring MSStoreCLI in the workflow PATH.

MIT License

Stars
10

Setup MSStore Developer CLI

This repository contains the source code for the setup-msstore-cli GitHub Action as well as the setup-msstore-cli 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@v3
    - uses: microsoft/setup-msstore-cli@v1
    - 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
Package Rankings
Top 13.83% on Github actions
Related Projects