Repository navigation
Releases
Releases · microsoft/setup-WinAppCli
v0.3.0
What's changed
Verified WinAppCli downloads
- Both the GitHub Action and Azure DevOps task verify the architecture-specific release ZIP's SHA-256 before extraction.
- By default, the expected digest comes from the official GitHub release metadata.
latestis resolved to a specific release before downloading. - New optional
sha256andgithub-tokeninputs support independently pinned digests and authenticated release metadata requests. - Downloads use isolated staging directories, clean up partial files, and replace existing installations with the newly verified copy.
Input validation and build hardening
- Version inputs accept only
latestorvMAJOR.MINOR.PATCH, optionally with a prerelease suffix. Invalid versions are rejected before filesystem or network operations. - Distributable consistency checks now rebuild both bundles and require the runtime bundles and localized resources to be tracked.
- Release signing now uses ESRP task v6, avoiding the retired Node 16 handler.
- Updated dependencies and pinned CI actions.
Compatibility notes
- Setup now fails if release metadata or its digest is missing or invalid, an API request fails, or the downloaded archive does not match the expected digest.
- For a specific release, provide an independently obtained
sha256to avoid the metadata API lookup. Withlatest, a supplied digest must also match the resolved release metadata. - GitHub Actions defaults
github-tokentogithub.tokenon github.com. Azure DevOps callers can supply a github.com token through a secret pipeline variable to avoid unauthenticated API rate limits. Tokens are used only for official release metadata requests, not archive downloads. - Use
microsoft/[email protected]or pin@v0.3.0. Azure DevOps continues to useUseWinAppCLI@0. - Existing
v0.1andv0.2tags remain unchanged.
Full changelog: v0.2...v0.3.0
v0.2
What's Changed
Node 24
- The GitHub Action now runs on the Node 24 runtime (
runs.using: node24). - The Azure DevOps task adds a Node24 execution handler (keeping
Node20_1for older agents) and drops the deprecated Node16 handler;minimumAgentVersionraised to4.248.0. - CI and the publish pipeline now build and test on Node 24.
Packaging
- Both the GitHub Action and the Azure DevOps task are now bundled with esbuild (CommonJS), replacing
@vercel/ncc— a single, consistent build for both distributables.
Dependencies
@actions/core→ 3.0.1,@actions/io→ 3.0.2,@actions/tool-cache→ 4.0.0azure-pipelines-task-lib→ 5.277.0,azure-pipelines-tool-lib→ 2.0.12- Dev tooling: TypeScript 6.0.3, ESLint 10,
@types/node26, Prettier 3.9.5 - Removed unused dependencies (
q,@types/q,js-yaml,eslint-plugin-github,eslint-plugin-import,@eslint/compat)
Full Changelog: v0.1...v0.2