Skip to content

Commit 8ba9c53

Browse files
authored
Update action.yml
1 parent 3f2094e commit 8ba9c53

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/actions/dotnet/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ runs:
99
shell: bash
1010
run: |
1111
VERSIONS=$(gh api /repos/${{ github.repository }}/properties/values | jq -r '.[] | select(.property_name == "DOTNET") | .value')
12-
echo "versions=$VERSIONS" >> $GITHUB_OUTPUT
12+
VERSIONS=$(echo "$VERSIONS" | tr ',' '\n')
13+
echo "versions=$VERSIONS" >> $GITHUB_OUTPUT
1314
1415
- name: ⚙ dotnet
1516
if: steps.dotnet.outputs.versions != ''
1617
uses: actions/setup-dotnet@v4
1718
with:
1819
dotnet-version: |
19-
${{ join(fromJson(steps.dotnet.outputs.versions), '\n') }}
20+
${{ steps.dotnet.outputs.versions }}

0 commit comments

Comments
 (0)