From 20ae342b5f72519ba6c940b915268a68b53d0c8c Mon Sep 17 00:00:00 2001 From: Jesse Houwing Date: Mon, 30 Oct 2023 11:23:13 +0000 Subject: [PATCH] Works with multi-line input --- main.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ps1 b/main.ps1 index e6dcef8..f3eefdf 100644 --- a/main.ps1 +++ b/main.ps1 @@ -1,6 +1,6 @@ $global:returnCode = 0 -$warnMinor = ${env:INPUT_CHECK-MINOR-VERSION} -eq "true" +$warnMinor = (${env:INPUT_CHECK-MINOR-VERSION} ?? "true").Trim() -eq "true" $tags = & git tag -l v* | Where-Object{ return ($_ -match "v\d+(.\d+)*$") }