Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AkazaRenn committed Aug 29, 2024
1 parent 79a9413 commit 34e6312
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,24 @@ jobs:
$versionsString = $versions -join ','
echo "VERSIONS=$versionsString" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- name: Define .NET versions
id: define-versions
run: |
$versions = @("3.1.x", "5.0.x")
$versionsString = $versions -join ","
echo "::set-output name=dotnet-versions::$versionsString"
shell: pwsh

- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ steps.define-versions.outputs.dotnet-versions }}

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0,7.0"
dotnet-version: |
${{ env.VERSIONS }}
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
Expand Down

0 comments on commit 34e6312

Please sign in to comment.