{"id":16495841,"url":"https://github.com/jasonwei512/upload-microsoft-store-msix-package-to-github-release","last_synced_at":"2025-06-14T22:03:07.371Z","repository":{"id":153100853,"uuid":"618440306","full_name":"JasonWei512/Upload-Microsoft-Store-MSIX-Package-to-GitHub-Release","owner":"JasonWei512","description":"🤖 A GitHub action to upload Microsoft Store-signed MSIX packages to GitHub release.","archived":false,"fork":false,"pushed_at":"2024-03-16T00:22:27.000Z","size":87,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-06-14T22:03:00.865Z","etag":null,"topics":["github-actions","github-releases","microsoft-store"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/upload-microsoft-store-msix-package-to-github-release","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JasonWei512.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-24T13:25:39.000Z","updated_at":"2025-05-27T01:59:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"60602464-0de5-4a7c-b241-7ed205e30583","html_url":"https://github.com/JasonWei512/Upload-Microsoft-Store-MSIX-Package-to-GitHub-Release","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/JasonWei512/Upload-Microsoft-Store-MSIX-Package-to-GitHub-Release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonWei512%2FUpload-Microsoft-Store-MSIX-Package-to-GitHub-Release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonWei512%2FUpload-Microsoft-Store-MSIX-Package-to-GitHub-Release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonWei512%2FUpload-Microsoft-Store-MSIX-Package-to-GitHub-Release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonWei512%2FUpload-Microsoft-Store-MSIX-Package-to-GitHub-Release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasonWei512","download_url":"https://codeload.github.com/JasonWei512/Upload-Microsoft-Store-MSIX-Package-to-GitHub-Release/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonWei512%2FUpload-Microsoft-Store-MSIX-Package-to-GitHub-Release/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259890426,"owners_count":22927370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","github-releases","microsoft-store"],"created_at":"2024-10-11T14:33:04.959Z","updated_at":"2025-06-14T22:03:07.341Z","avatar_url":"https://github.com/JasonWei512.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n[![GitHub Action Marketplace](https://img.shields.io/badge/GitHub%20Action-Marketplace-red)](https://github.com/marketplace/actions/upload-microsoft-store-msix-package-to-github-release)\n[![GitHub Release](https://img.shields.io/github/v/release/JasonWei512/Upload-Microsoft-Store-MSIX-Package-to-GitHub-Release?label=Release)](https://github.com/JasonWei512/Upload-Microsoft-Store-MSIX-Package-to-GitHub-Release/releases/latest)\n\nA GitHub action to download the latest MSIX packages from Microsoft Store and upload them to an **existing** GitHub release with corresponding version tag. \n\nThe GitHub release tag should contain at least 3 digits, in the format of `x.y.z`.\n\nFor example, if the latest Microsoft Store package version is `1.2.3.0`, it will upload MSIX packages to the GitHub release whose tag contains `1.2.3`, such as:\n\n- `1.2.3`\n- `1.2.3.0`\n- `v1.2.3.dev`\n- `Version-1.2.3.0-Preview`\n\n\n# Quick Start\n\nAdd a YAML file to `.github/workflows/upload-store-msix-to-release.yml` :\n\n```yaml\nname: Upload store MSIX to release\n\npermissions:\n  contents: write\n\non:\n  release:\n    types: [released]   # Run the action when a GitHub release is published\n\n  schedule:\n    - cron:  '0 */6 * * *'  # Run the action every 6 hours\n\n  workflow_dispatch:    # Manually run the action\n\njobs:\n  upload-store-msix-to-release:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Upload store MSIX to release\n      uses: JasonWei512/Upload-Microsoft-Store-MSIX-Package-to-GitHub-Release@v1\n      with:\n        store-id: 9NF7JTB3B17P\n        token: ${{ secrets.GITHUB_TOKEN }}\n        asset-name-pattern: AppName_{version}_{arch}  # Optional\n```\n\n\n# Action Inputs\n\n- ## `store-id`\n\n  The ID of the Microsoft Store app you want to upload, e.g. `9NF7JTB3B17P`.\n\n  To get the app ID:\n  - Open Microsoft Store and go to the app page.\n  - Click the share button and select \"copy link\".   \n  - A url like `https://www.microsoft.com/store/productId/9NF7JTB3B17P` will be copied to clipboard. \n  - The last segment is the app ID.\n\n- ## `token`\n\n  The GitHub token to use. Just set it to `${{ secrets.GITHUB_TOKEN }}` for most cases. \n\n  GitHub will automatically create a `GITHUB_TOKEN` secret when the action runs.\n\n- ## `asset-name-pattern` (Optional)\n\n  The pattern of the uploaded GitHub release asset's name without file extension. Can contain `{version}` and `{arch}`. \n\n  For example, for pattern `AppName_{version}_{arch}`, the uploaded asset's name can be `AppName_1.2.3.0_x64.Msix`.\n\n  If you don't specify an `asset-name-pattern`, the default file name from Microsoft Store will be used. For example, `14463DeveloperName.AppName_1.2.3.0_x64__23j36sa9jtp8y.msix`.\n\n\n# Why would you use it\n\nIf you publish apps to Microsoft Store and love open source, you may want to upload Microsoft Store-signed MSIX packages to GitHub release, like [Ambie](https://github.com/jenius-apps/ambie), [NanaZip](https://github.com/M2Team/NanaZip), and [Energy Star X](https://github.com/JasonWei512/EnergyStarX) do. \n\nUsers can double click these packages to install them. No need to *install certificates to Trusted Root Certification Authorities with admin privilege* like for self-signed packages.\n\nWhile the user experience is great, the developer experience is not. Every time you create a new release, you have to manually download the MSIX packages from Microsoft Store using https://store.rg-adguard.net and upload them to GitHub release.\n\nSo I created a GitHub action to automate this workflow.\n\n# ✨ More Microsoft Store dev tools\n\n- [JasonWei512/Microsoft-Store-Badge](https://github.com/JasonWei512/Microsoft-Store-Badge)\n  \n  🏅 Generate a rating badge for your Microsoft Store app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonwei512%2Fupload-microsoft-store-msix-package-to-github-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonwei512%2Fupload-microsoft-store-msix-package-to-github-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonwei512%2Fupload-microsoft-store-msix-package-to-github-release/lists"}