Repository navigation
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
microsoft/store-submissionis deprecated and the repository is being archived (see microsoft/store-submission#27). Archiving does not break anything —uses: microsoft/store-submission@v1will 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 namedmicrosoft/setup-msstore-cli). It handles both packaged (MSIX) and unpackaged (MSI/EXE) apps and is actively maintained.microsoft/PowerToysalready 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
The
store-submitjob in.github/workflows/release.ymlnow sets up the MSStore CLI and submits viamsstore publish.Why it's not a 1:1 step swap
The previous step couldn't have worked as written:
microsoft/store-submissionhas noUpdateAndSubmitcommand (onlyconfigure,get,update,poll,publish) and noproductId/packagePathinputs — those names don't exist on the action. The job has 0 recorded runs, which matches.This PR replaces it with the supported local-package path:
msstore reconfigurefor credentials, thenmsstore publish <package> --appId <id>.One thing to check
msstore publishtakes one.msix,.msixbundleor.msixupload. Your build runs with-p:AppxBundle=Neverand uploads x64 and ARM64 as separate.msixartifacts, so there are two packages and no bundle. I added aLocate package to submitstep that prefers a bundle and fails with an explicit message if it finds multiple bare.msixfiles, rather than silently submitting only one architecture.To submit both architectures you'll want a single
.msixbundle— either build with-p:AppxBundle=Alwaysor bundle the two packages withmakeappx bundlebefore this job. Happy to add that here if you'd like.Command mapping used
microsoft/store-submissioncommand: configure+tenant-id/seller-id/client-id/client-secretmsstore reconfigure --tenantId … --sellerId … --clientId … --clientSecret …command: update+product-updatemsstore submission update <productId> '<json>'command: publishmsstore submission publish <productId>type: win32/type: packagedNotes
msstore submission updatedeserializes intoUpdatePackagesRequest→{ "packages": [ { packageUrl, languages, architectures, isSilentInstall, installerParameters, packageType, genericDocUrl, … } ] }, which is the same shapeproduct-updatetook, so the payload carried over verbatim.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.