Skip to content

Commit 222c5d3

Browse files
Allow "Preview" as an input
1 parent 267308f commit 222c5d3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ branding:
1111
inputs:
1212
Version:
1313
description: |
14-
PowerShell version to install (e.g. `7.4.1`).
14+
PowerShell version to install (e.g. `7.4.1` or `7.5.0-preview.1`).
1515
Defaults to install the latest stable release.
16+
Use 'latest' for latest stable, or latest preview if Preview is true.
1617
required: false
1718
default: 'latest'
19+
Preview:
20+
description: |
21+
Install PowerShell preview build instead of stable.
22+
When true and Version is 'latest', installs the latest preview release.
23+
required: false
24+
default: 'false'
1825

1926
runs:
2027
using: composite

0 commit comments

Comments
 (0)