Skip to content

Commit 8ca02a8

Browse files
committed
fix(ci): pass MSIX file path to msstore publish command
The msstore CLI expects the MSIX file path as the first positional argument, not a project directory. Using '.' with --inputDirectory caused "project publisher not found" error.
1 parent 6374bb7 commit 8ca02a8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish-windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ jobs:
5353
- name: Upload package to submission
5454
shell: pwsh
5555
run: |
56-
Write-Host "Uploading package from: msix"
57-
msstore publish . --appId $env:APP_ID --inputDirectory msix --noCommit
56+
$msixFile = (Get-ChildItem -Path msix -Filter "*.msix" | Select-Object -First 1).FullName
57+
Write-Host "Uploading package: $msixFile"
58+
msstore publish $msixFile --appId $env:APP_ID --noCommit
5859
5960
- name: Update submission metadata
6061
shell: pwsh

0 commit comments

Comments
 (0)