We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d5c320 commit 6e04ef4Copy full SHA for 6e04ef4
1 file changed
action.yml
@@ -33,7 +33,7 @@ runs:
33
case "${REQUESTED_VERSION:-}" in
34
[Ll][Aa][Tt][Ee][Ss][Tt])
35
REQUESTED_VERSION=$(
36
- curl -s https://api.github.com/repos/PowerShell/PowerShell/releases/latest |
+ curl -sf https://api.github.com/repos/PowerShell/PowerShell/releases/latest |
37
grep '"tag_name"' | head -n1 |
38
sed -E 's/.*"v?([^"]+)".*/\1/'
39
)
@@ -96,7 +96,7 @@ runs:
96
# Only resolve to latest version if explicitly set to 'latest'
97
if [[ "$REQ_VER_LOWER" == "latest" ]]; then
98
99
100
101
102
0 commit comments