Skip to content

ci: migrate from the deprecated microsoft/store-submission action to the MSStore CLI - #1

Merged
IlyaBOT merged 2 commits into
IlyaBOT:mainfrom
azchohfi:migrate-to-msstore-cli
Aug 26, 2026
Merged

IlyaBOT merged 2 commits into
IlyaBOT:mainfrom
azchohfi:migrate-to-msstore-cli

Conversation

@azchohfi

Copy link
Copy Markdown
Contributor

Why

microsoft/store-submission is deprecated and the repository is being archived (see microsoft/store-submission#27). Archiving does not break anything — uses: microsoft/store-submission@v1 will keep resolving — but there will be no further fixes, features, or security updates, and it has open issues that will never be addressed (notably #20: no certificate or federated/managed-identity auth).

The supported replacement is the MSStore CLI, put on the runner by microsoft/microsoft-store-apppublisher (the action formerly named microsoft/setup-msstore-cli). It handles both packaged (MSIX) and unpackaged (MSI/EXE) apps and is actively maintained. microsoft/PowerToys already runs on it.

I'm doing a sweep of the repos still referencing the old action so nobody is caught out by the archive.

What changed

.github/workflows/msstore-publish.yml now sets up the MSStore CLI and calls it directly. Same if: env.HAS_MSSTORE_CREDS == 'true' gating, same MSSTORE_* secrets, same MSI payload from steps.msi.outputs.url.

This workflow looks derived from meshtastic/Meshtastic-Android's; I've sent them the equivalent change so the two stay in sync.

Command mapping used

microsoft/store-submission MSStore CLI
command: configure + tenant-id/seller-id/client-id/client-secret msstore reconfigure --tenantId … --sellerId … --clientId … --clientSecret …
command: update + product-update msstore submission update <productId> '<json>'
command: publish msstore submission publish <productId>
type: win32 / type: packaged dropped — the CLI resolves the product type itself

Notes

  • No secrets added or renamed — this uses exactly the same ones the workflow already referenced.
  • The JSON payload is unchanged. msstore submission update deserializes into UpdatePackagesRequest → { "packages": [ { packageUrl, languages, architectures, isSilentInstall, installerParameters, packageType, genericDocUrl, … } ] }, which is the same shape product-update took, so the payload carried over verbatim.
  • Secret values are passed via env: and referenced as shell variables rather than interpolated straight into the command line — same behaviour, and it keeps them out of the process command line.
  • I can't execute this pipeline against your Partner Center product, so please sanity-check before merging. Happy to adjust anything.

microsoft/store-submission is deprecated and its repository is being
archived. Switch to microsoft/microsoft-store-apppublisher + the
MSStore CLI, which is the supported replacement and covers both
packaged (MSIX) and unpackaged (MSI/EXE) applications.
microsoft/microsoft-store-apppublisher@v1.4 is a lightweight tag pointing
directly at a commit, so it can be moved. This step handles Partner Center
credentials, so pin the action to cc9910a8d59f2eb55cbb83df0a3800cf3b5300e0
and pin the CLI it downloads to v0.4.1 instead of the default 'latest'.

v0.4.1 is what 'latest' resolves to today, so this freezes current
behaviour rather than changing it.

microsoft/PowerToys pins this same action the same way.
@IlyaBOT
IlyaBOT merged commit baf7edd into IlyaBOT:main Aug 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants