Skip to content

Commit 3f2e2bf

Browse files
committed
Update action.yml
1 parent 55be20e commit 3f2e2bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/actions/dotnet/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ runs:
99
shell: bash
1010
run: |
1111
VERSIONS=$(gh api /repos/${{ github.repository }}/properties/values | jq -r '.[] | select(.property_name == "DOTNET") | .value')
12+
# Remove extra whitespace from VERSIONS
13+
VERSIONS=$(echo "$VERSIONS" | tr -s ' ' | tr -d ' ')
1214
# Convert comma-separated to newline-separated
1315
NEWLINE_VERSIONS=$(echo "$VERSIONS" | tr ',' '\n')
1416
# Validate versions

0 commit comments

Comments
 (0)