mchave3/Setup PowerShell Core (pwsh)
Download and install any version of PowerShell Core on GitHub Actions runners (Windows, macOS, Linux)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | The version of PowerShell to install. - 'latest': Latest release from /releases/latest (currently 7.5.x) - 'stable' or 'lts': Latest LTS/stable release (currently 7.4.x) - 'preview': Latest preview/RC release - Specific version number (e.g., '7.4.6', '7.5.4') | no | latest |
| architecture | The architecture to install. - 'x64': 64-bit Intel/AMD - 'x86': 32-bit (Windows only) - 'arm64': ARM 64-bit - 'arm32': ARM 32-bit (Linux only) - 'auto': Automatically detect (default) | no | auto |
| github-token | GitHub token for API authentication (increases rate limit). | no | "" |
Outputs
| name | description |
|---|---|
| version | The version of PowerShell that was installed |
| path | The installation path of PowerShell |